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
  751a860e_930c_9b7a_4cdf_f94d5f138157["Config"]
  81a11719_3457_ecad_7c86_c586d804debb["config.ts"]
  751a860e_930c_9b7a_4cdf_f94d5f138157 -->|defined in| 81a11719_3457_ecad_7c86_c586d804debb
  style 751a860e_930c_9b7a_4cdf_f94d5f138157 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