warn() — vue Function Reference
Architecture documentation for the warn() function in warn.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 93ccdc63_5b5b_b564_6ab2_8156ecc9fc95["warn()"] ff0dbb26_906d_c579_81e5_ceadaf4a13fe["warnOnce()"] ff0dbb26_906d_c579_81e5_ceadaf4a13fe -->|calls| 93ccdc63_5b5b_b564_6ab2_8156ecc9fc95 style 93ccdc63_5b5b_b564_6ab2_8156ecc9fc95 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
Called By
Source
Frequently Asked Questions
What does warn() do?
warn() is a function in the vue codebase.
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