split.js — vue Source File
Architecture documentation for split.js, a javascript file in the vue codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 6f2b71c2_3a57_c179_9774_b8d21929f536["split.js"] 7c5f5ecb_33d2_94e7_83bd_fcb3042fa31a["../../../../dist/vue.runtime.common.js"] 6f2b71c2_3a57_c179_9774_b8d21929f536 --> 7c5f5ecb_33d2_94e7_83bd_fcb3042fa31a style 6f2b71c2_3a57_c179_9774_b8d21929f536 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
Dependencies
- ../../../../dist/vue.runtime.common.js
Source
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 CompilerSFC domain, StyleProcessor 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: CompilerSFC, subdomain: StyleProcessor, 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