warn() — vue Function Reference
Architecture documentation for the warn() function in warn.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 19d3061a_cec5_456e_f79a_305199ce32a7["warn()"] 1511bfca_4880_700d_193d_8660402396c3["warn.ts"] 19d3061a_cec5_456e_f79a_305199ce32a7 -->|defined in| 1511bfca_4880_700d_193d_8660402396c3 6364246b_4ca9_9d10_2feb_edc16524fcfd["warnOnce()"] 6364246b_4ca9_9d10_2feb_edc16524fcfd -->|calls| 19d3061a_cec5_456e_f79a_305199ce32a7 style 19d3061a_cec5_456e_f79a_305199ce32a7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/compiler-sfc/src/warn.ts lines 12–16
export function warn(msg: string) {
console.warn(
`\x1b[1m\x1b[33m[@vue/compiler-sfc]\x1b[0m\x1b[33m ${msg}\x1b[0m\n`
)
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does warn() do?
warn() is a function in the vue codebase, defined in packages/compiler-sfc/src/warn.ts.
Where is warn() defined?
warn() is defined in packages/compiler-sfc/src/warn.ts at line 12.
What calls warn()?
warn() is called by 1 function(s): warnOnce.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free