Home / File/ split.js — vue Source File

split.js — vue Source File

Architecture documentation for split.js, a javascript file in the vue codebase. 1 imports, 0 dependents.

File javascript VueCore VDom 1 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  a701a97e_12b0_6eb0_f6da_3d360c6bc3ff["split.js"]
  95f0fc43_06e0_3922_f935_20c1b9d16775["../../../../dist/vue.runtime.common.js"]
  a701a97e_12b0_6eb0_f6da_3d360c6bc3ff --> 95f0fc43_06e0_3922_f935_20c1b9d16775
  style a701a97e_12b0_6eb0_f6da_3d360c6bc3ff fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import Vue from '../../../../dist/vue.runtime.common.js'

// async component!
const Foo = () => import('./async-foo')
const Bar = () => import('./async-bar') // eslint-disable-line

export default context => {
  return new Promise(resolve => {
    context.msg = 'hello'
    const vm = new Vue({
      render(h) {
        return h('div', [context.url, h(Foo)])
      }
    })

    // simulate router.onReady
    Foo().then(comp => {
      // resolve now to make the render sync
      Foo.resolved = Vue.extend(comp.default)
      resolve(vm)
    })
  })
}

Domain

Subdomains

Functions

Dependencies

  • ../../../../dist/vue.runtime.common.js

Frequently Asked Questions

What does split.js do?
split.js is a source file in the vue codebase, written in javascript. It belongs to the VueCore domain, VDom subdomain.
What functions are defined in split.js?
split.js defines 2 function(s): Bar, Foo.
What does split.js depend on?
split.js imports 1 module(s): ../../../../dist/vue.runtime.common.js.
Where is split.js in the architecture?
split.js is located at packages/server-renderer/test/fixtures/split.js (domain: VueCore, subdomain: VDom, directory: packages/server-renderer/test/fixtures).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free