Home / Type/ Config Type — vue Architecture

Config Type — vue Architecture

Architecture documentation for the Config type/interface in config.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  1ceda1ee_b13a_e78a_86cc_891844db65b2["Config"]
  d22f3dff_cc24_705a_1193_eec206dcb1d5["config.ts"]
  1ceda1ee_b13a_e78a_86cc_891844db65b2 -->|defined in| d22f3dff_cc24_705a_1193_eec206dcb1d5
  style 1ceda1ee_b13a_e78a_86cc_891844db65b2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/config.ts lines 9–34

export interface Config {
  // user
  optionMergeStrategies: { [key: string]: Function }
  silent: boolean
  productionTip: boolean
  performance: boolean
  devtools: boolean
  errorHandler?: (err: Error, vm: Component | null, info: string) => void
  warnHandler?: (msg: string, vm: Component | null, trace: string) => void
  ignoredElements: Array<string | RegExp>
  keyCodes: { [key: string]: number | Array<number> }

  // platform
  isReservedTag: (x: string) => boolean | undefined
  isReservedAttr: (x: string) => true | undefined
  parsePlatformTagName: (x: string) => string
  isUnknownElement: (x: string) => boolean
  getTagNamespace: (x: string) => string | undefined
  mustUseProp: (tag: string, type?: string | null, name?: string) => boolean

  // private
  async: boolean

  // legacy
  _lifecycleHooks: Array<string>
}

Defined In

Frequently Asked Questions

What is the Config type?
Config is a type/interface in the vue codebase, defined in src/core/config.ts.
Where is Config defined?
Config is defined in src/core/config.ts at line 9.

Analyze Your Own Codebase

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

Try Supermodel Free