index.ts — vue Source File
Architecture documentation for index.ts, a typescript file in the vue codebase. 7 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 9782dad7_5854_860f_386f_7bcb96c76b9a["index.ts"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d["index.ts"] 9782dad7_5854_860f_386f_7bcb96c76b9a --> 950f6f82_5bc5_59dd_7664_e957d67dbb1d a59d9a33_3772_a4e5_bf59_14782292b296["Vue"] 9782dad7_5854_860f_386f_7bcb96c76b9a --> a59d9a33_3772_a4e5_bf59_14782292b296 6090fc15_0543_136f_4e4a_ce1860382ce6["index.ts"] 9782dad7_5854_860f_386f_7bcb96c76b9a --> 6090fc15_0543_136f_4e4a_ce1860382ce6 ee699f75_f5be_8f7a_91c2_18232c62b421["initGlobalAPI"] 9782dad7_5854_860f_386f_7bcb96c76b9a --> ee699f75_f5be_8f7a_91c2_18232c62b421 b1eb2bb2_8774_a6f3_1b5c_854efafa7ee6["env"] 9782dad7_5854_860f_386f_7bcb96c76b9a --> b1eb2bb2_8774_a6f3_1b5c_854efafa7ee6 af1ab9d2_b59d_41b1_7e1c_9daae5f03001["create-functional-component"] 9782dad7_5854_860f_386f_7bcb96c76b9a --> af1ab9d2_b59d_41b1_7e1c_9daae5f03001 6a13c450_be5a_326d_7e2d_c1d429be7e83["v3"] 9782dad7_5854_860f_386f_7bcb96c76b9a --> 6a13c450_be5a_326d_7e2d_c1d429be7e83 style 9782dad7_5854_860f_386f_7bcb96c76b9a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Vue from './instance/index'
import { initGlobalAPI } from './global-api/index'
import { isServerRendering } from 'core/util/env'
import { FunctionalRenderContext } from 'core/vdom/create-functional-component'
import { version } from 'v3'
initGlobalAPI(Vue)
Object.defineProperty(Vue.prototype, '$isServer', {
get: isServerRendering
})
Object.defineProperty(Vue.prototype, '$ssrContext', {
get() {
/* istanbul ignore next */
return this.$vnode && this.$vnode.ssrContext
}
})
// expose FunctionalRenderContext for ssr runtime helper installation
Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
})
Vue.version = version
export default Vue
Domain
Dependencies
- Vue
- create-functional-component
- env
- index.ts
- index.ts
- initGlobalAPI
- v3
Source
Frequently Asked Questions
What does index.ts do?
index.ts is a source file in the vue codebase, written in typescript. It belongs to the CompilerSFC domain.
What does index.ts depend on?
index.ts imports 7 module(s): Vue, create-functional-component, env, index.ts, index.ts, initGlobalAPI, v3.
Where is index.ts in the architecture?
index.ts is located at src/core/index.ts (domain: CompilerSFC, directory: src/core).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free