index.ts — vue Source File
Architecture documentation for index.ts, a typescript file in the vue codebase. 12 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 950f6f82_5bc5_59dd_7664_e957d67dbb1d["index.ts"] 9e587547_0a20_aaaa_ba5c_6103ca27ef79["init.ts"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> 9e587547_0a20_aaaa_ba5c_6103ca27ef79 7cb38e61_0473_03dc_2a46_4308c941e8cf["initMixin"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> 7cb38e61_0473_03dc_2a46_4308c941e8cf 910d3a96_5984_cf85_40a3_47933bd75818["state.ts"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> 910d3a96_5984_cf85_40a3_47933bd75818 c74446fc_5d22_d545_3c00_31643a8c20db["stateMixin"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> c74446fc_5d22_d545_3c00_31643a8c20db a8c0285c_59b2_d81b_1af0_c0cd9c2afe2d["render.ts"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> a8c0285c_59b2_d81b_1af0_c0cd9c2afe2d a3383990_e98a_f7ae_9ab4_763f5e3094ee["renderMixin"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> a3383990_e98a_f7ae_9ab4_763f5e3094ee 7b0cc275_96e5_15f9_3ca6_626be691c291["events.ts"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> 7b0cc275_96e5_15f9_3ca6_626be691c291 797b4911_94d7_8122_9ed3_df6c3e52b936["eventsMixin"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> 797b4911_94d7_8122_9ed3_df6c3e52b936 f3560440_54c1_5663_36f8_c7de54d7310b["lifecycle.ts"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> f3560440_54c1_5663_36f8_c7de54d7310b 8c103bae_ceb4_9609_cad2_36c8a086376e["lifecycleMixin"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> 8c103bae_ceb4_9609_cad2_36c8a086376e 2a298df2_21b8_7e5a_c372_51ba50c9d92d["index.ts"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> 2a298df2_21b8_7e5a_c372_51ba50c9d92d 51931e9b_f9dc_de8e_3f55_263f1372f144["global-api"] 950f6f82_5bc5_59dd_7664_e957d67dbb1d --> 51931e9b_f9dc_de8e_3f55_263f1372f144 9782dad7_5854_860f_386f_7bcb96c76b9a["index.ts"] 9782dad7_5854_860f_386f_7bcb96c76b9a --> 950f6f82_5bc5_59dd_7664_e957d67dbb1d style 950f6f82_5bc5_59dd_7664_e957d67dbb1d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { initMixin } from './init'
import { stateMixin } from './state'
import { renderMixin } from './render'
import { eventsMixin } from './events'
import { lifecycleMixin } from './lifecycle'
import { warn } from '../util/index'
import type { GlobalAPI } from 'types/global-api'
function Vue(options) {
if (__DEV__ && !(this instanceof Vue)) {
warn('Vue is a constructor and should be called with the `new` keyword')
}
this._init(options)
}
//@ts-expect-error Vue has function type
initMixin(Vue)
//@ts-expect-error Vue has function type
stateMixin(Vue)
//@ts-expect-error Vue has function type
eventsMixin(Vue)
//@ts-expect-error Vue has function type
lifecycleMixin(Vue)
//@ts-expect-error Vue has function type
renderMixin(Vue)
export default Vue as unknown as GlobalAPI
Domain
Subdomains
Functions
Dependencies
Imported By
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 CoreRuntime domain, Instance subdomain.
What functions are defined in index.ts?
index.ts defines 1 function(s): Vue.
What does index.ts depend on?
index.ts imports 12 module(s): events.ts, eventsMixin, global-api, index.ts, init.ts, initMixin, lifecycle.ts, lifecycleMixin, and 4 more.
What files import index.ts?
index.ts is imported by 1 file(s): index.ts.
Where is index.ts in the architecture?
index.ts is located at src/core/instance/index.ts (domain: CoreRuntime, subdomain: Instance, directory: src/core/instance).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free