Home / Function/ Vue() — vue Function Reference

Vue() — vue Function Reference

Architecture documentation for the Vue() function in index.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  a59d9a33_3772_a4e5_bf59_14782292b296["Vue()"]
  950f6f82_5bc5_59dd_7664_e957d67dbb1d["index.ts"]
  a59d9a33_3772_a4e5_bf59_14782292b296 -->|defined in| 950f6f82_5bc5_59dd_7664_e957d67dbb1d
  style a59d9a33_3772_a4e5_bf59_14782292b296 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/instance/index.ts lines 9–14

function Vue(options) {
  if (__DEV__ && !(this instanceof Vue)) {
    warn('Vue is a constructor and should be called with the `new` keyword')
  }
  this._init(options)
}

Domain

Subdomains

Frequently Asked Questions

What does Vue() do?
Vue() is a function in the vue codebase, defined in src/core/instance/index.ts.
Where is Vue() defined?
Vue() is defined in src/core/instance/index.ts at line 9.

Analyze Your Own Codebase

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

Try Supermodel Free