SFCScriptBlock Type — vue Architecture
Architecture documentation for the SFCScriptBlock type/interface in parseComponent.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD ef3c36f5_5866_75fd_3a1a_4fbe9c774913["SFCScriptBlock"] ecb7777f_63cc_7bf6_1f6a_fedf933d43a4["parseComponent.ts"] ef3c36f5_5866_75fd_3a1a_4fbe9c774913 -->|defined in| ecb7777f_63cc_7bf6_1f6a_fedf933d43a4 style ef3c36f5_5866_75fd_3a1a_4fbe9c774913 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/compiler-sfc/src/parseComponent.ts lines 30–43
export interface SFCScriptBlock extends SFCBlock {
type: 'script'
setup?: string | boolean
bindings?: BindingMetadata
imports?: Record<string, ImportBinding>
/**
* import('\@babel/types').Statement
*/
scriptAst?: any[]
/**
* import('\@babel/types').Statement
*/
scriptSetupAst?: any[]
}
Defined In
Source
Frequently Asked Questions
What is the SFCScriptBlock type?
SFCScriptBlock is a type/interface in the vue codebase, defined in packages/compiler-sfc/src/parseComponent.ts.
Where is SFCScriptBlock defined?
SFCScriptBlock is defined in packages/compiler-sfc/src/parseComponent.ts at line 30.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free