Home / File/ index.ts — vue Source File

index.ts — vue Source File

Architecture documentation for index.ts, a typescript file in the vue codebase. 12 imports, 1 dependents.

File typescript VueCore Instance 12 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d["index.ts"]
  ae790ceb_073b_1bcf_331c_af2d587c1ad6["init.ts"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> ae790ceb_073b_1bcf_331c_af2d587c1ad6
  27e71f35_12fd_58cc_25d7_c5686da5aaf6["initMixin"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> 27e71f35_12fd_58cc_25d7_c5686da5aaf6
  079339bc_f0ce_0fd0_3d1b_26a2dc073616["state.ts"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> 079339bc_f0ce_0fd0_3d1b_26a2dc073616
  8821e5be_a66e_607b_6fb4_39002df1a03a["stateMixin"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> 8821e5be_a66e_607b_6fb4_39002df1a03a
  2c65c43e_4691_415f_689a_805ec38ae46c["render.ts"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> 2c65c43e_4691_415f_689a_805ec38ae46c
  663f50a8_8d82_e040_32bd_1250a516fe5f["renderMixin"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> 663f50a8_8d82_e040_32bd_1250a516fe5f
  8c1ef0ac_57c2_7f8a_7ea7_6924e38bf16b["events.ts"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> 8c1ef0ac_57c2_7f8a_7ea7_6924e38bf16b
  8c55e9cc_003e_88f5_29af_162432bc1494["eventsMixin"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> 8c55e9cc_003e_88f5_29af_162432bc1494
  d937f76e_061f_a631_9587_336503c9a15c["lifecycle.ts"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> d937f76e_061f_a631_9587_336503c9a15c
  5ebc50a8_91d4_fca0_61db_b1eb7c6dc6ca["lifecycleMixin"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> 5ebc50a8_91d4_fca0_61db_b1eb7c6dc6ca
  76672dd6_4e87_4468_a48b_f4da793fd211["index.ts"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> 76672dd6_4e87_4468_a48b_f4da793fd211
  e113c728_56e1_b7c8_935f_f89af3e6c5fc["global-api"]
  23cfe098_8f89_2c1d_f6c8_39cd03563e3d --> e113c728_56e1_b7c8_935f_f89af3e6c5fc
  d9076d5f_33d6_6fe7_0a89_2f29fba0fe52["index.ts"]
  d9076d5f_33d6_6fe7_0a89_2f29fba0fe52 --> 23cfe098_8f89_2c1d_f6c8_39cd03563e3d
  style 23cfe098_8f89_2c1d_f6c8_39cd03563e3d 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

Imported By

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 VueCore 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: VueCore, 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