config.ts — vue Source File
Architecture documentation for config.ts, a typescript file in the vue codebase. 3 imports, 11 dependents.
Entity Profile
Dependency Diagram
graph LR d22f3dff_cc24_705a_1193_eec206dcb1d5["config.ts"] 156bf2e1_8a13_f22d_5437_54f14bcef8fa["util"] d22f3dff_cc24_705a_1193_eec206dcb1d5 --> 156bf2e1_8a13_f22d_5437_54f14bcef8fa 19d0b34b_7289_2457_32d9_273105740f2a["constants"] d22f3dff_cc24_705a_1193_eec206dcb1d5 --> 19d0b34b_7289_2457_32d9_273105740f2a 907f4994_ea28_43b1_7976_0db9f0e97637["component"] d22f3dff_cc24_705a_1193_eec206dcb1d5 --> 907f4994_ea28_43b1_7976_0db9f0e97637 6090fc15_0543_136f_4e4a_ce1860382ce6["index.ts"] 6090fc15_0543_136f_4e4a_ce1860382ce6 --> d22f3dff_cc24_705a_1193_eec206dcb1d5 9e587547_0a20_aaaa_ba5c_6103ca27ef79["init.ts"] 9e587547_0a20_aaaa_ba5c_6103ca27ef79 --> d22f3dff_cc24_705a_1193_eec206dcb1d5 f3560440_54c1_5663_36f8_c7de54d7310b["lifecycle.ts"] f3560440_54c1_5663_36f8_c7de54d7310b --> d22f3dff_cc24_705a_1193_eec206dcb1d5 910d3a96_5984_cf85_40a3_47933bd75818["state.ts"] 910d3a96_5984_cf85_40a3_47933bd75818 --> d22f3dff_cc24_705a_1193_eec206dcb1d5 dfb2b3e1_ffba_6029_124e_b43a30f0f999["dep.ts"] dfb2b3e1_ffba_6029_124e_b43a30f0f999 --> d22f3dff_cc24_705a_1193_eec206dcb1d5 7cc5a667_1876_f28e_e26f_27fcdcba292e["scheduler.ts"] 7cc5a667_1876_f28e_e26f_27fcdcba292e --> d22f3dff_cc24_705a_1193_eec206dcb1d5 c11cafd0_9de7_a29e_a7df_dc098f20ea24["debug.ts"] c11cafd0_9de7_a29e_a7df_dc098f20ea24 --> d22f3dff_cc24_705a_1193_eec206dcb1d5 34ce4c45_a0c3_08f3_7cbe_679778705432["error.ts"] 34ce4c45_a0c3_08f3_7cbe_679778705432 --> d22f3dff_cc24_705a_1193_eec206dcb1d5 5c734a8f_efba_819c_28fc_f56bfd6b701f["options.ts"] 5c734a8f_efba_819c_28fc_f56bfd6b701f --> d22f3dff_cc24_705a_1193_eec206dcb1d5 ed56e0c4_2667_3b26_6b70_35cd51b08810["create-element.ts"] ed56e0c4_2667_3b26_6b70_35cd51b08810 --> d22f3dff_cc24_705a_1193_eec206dcb1d5 0df06241_48e0_316d_48c2_6f91c7a049b1["patch.ts"] 0df06241_48e0_316d_48c2_6f91c7a049b1 --> d22f3dff_cc24_705a_1193_eec206dcb1d5 style d22f3dff_cc24_705a_1193_eec206dcb1d5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { no, noop, identity } from 'shared/util'
import { LIFECYCLE_HOOKS } from 'shared/constants'
import type { Component } from 'types/component'
/**
* @internal
*/
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>
}
export default {
/**
* Option merge strategies (used in core/util/options)
*/
// $flow-disable-line
optionMergeStrategies: Object.create(null),
/**
* Whether to suppress warnings.
*/
silent: false,
/**
* Show production mode tip message on boot?
*/
productionTip: __DEV__,
/**
* Whether to enable devtools
*/
devtools: __DEV__,
/**
* Whether to record perf
*/
// ... (69 more lines)
Domain
Subdomains
Types
Dependencies
- component
- constants
- util
Imported By
Source
Frequently Asked Questions
What does config.ts do?
config.ts is a source file in the vue codebase, written in typescript. It belongs to the CoreRuntime domain, VirtualDOM subdomain.
What functions are defined in config.ts?
config.ts defines 4 function(s): err, msg, tag, x.
What does config.ts depend on?
config.ts imports 3 module(s): component, constants, util.
What files import config.ts?
config.ts is imported by 11 file(s): create-element.ts, debug.ts, dep.ts, error.ts, index.ts, init.ts, lifecycle.ts, options.ts, and 3 more.
Where is config.ts in the architecture?
config.ts is located at src/core/config.ts (domain: CoreRuntime, subdomain: VirtualDOM, directory: src/core).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free