CompilerSFC Domain — vue Architecture
Handles the parsing and compilation of Vue Single File Components into JavaScript, CSS, and Template render functions.
Entity Profile
Dependency Diagram
graph TD domain_CompilerSFC["CompilerSFC"] subdomain_CompilerSFC_StyleProcessor["StyleProcessor"] domain_CompilerSFC --> subdomain_CompilerSFC_StyleProcessor subdomain_CompilerSFC_ScriptCompiler["ScriptCompiler"] domain_CompilerSFC --> subdomain_CompilerSFC_ScriptCompiler subdomain_CompilerSFC_DescriptorParser["DescriptorParser"] domain_CompilerSFC --> subdomain_CompilerSFC_DescriptorParser style domain_CompilerSFC fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Subdomains
Source Files
- test/unit/features/options/_scopeId.spec.ts
- test/unit/features/v3/apiAsyncComponent.spec.ts
- src/v3/apiAsyncComponent.ts
- test/unit/features/v3/apiInject.spec.ts
- src/v3/apiInject.ts
- test/unit/features/v3/apiLifecycle.spec.ts
- src/v3/apiLifecycle.ts
- test/unit/features/v3/apiSetup.spec.ts
- src/v3/apiSetup.ts
- packages/server-renderer/test/fixtures/app.js
- packages/compiler-sfc/src/templateCompilerModules/assetUrl.ts
- test/unit/features/global-api/assets.spec.ts
- src/core/global-api/assets.ts
- types/test/async-component-test.ts
- test/e2e/async-edge-cases.spec.ts
- packages/server-renderer/test/fixtures/async-foo.js
- types/test/augmentation-test.ts
- packages/compiler-sfc/src/babelUtils.ts
- test/e2e/basic-ssr.spec.ts
- test/unit/features/directives/bind.spec.ts
- types/built-in-components.d.ts
- packages/server-renderer/test/fixtures/cache-opt-out.js
- packages/server-renderer/test/fixtures/cache.js
- test/unit/features/directives/class.spec.ts
- test/helpers/classlist.ts
- packages/server-renderer/client-plugin.d.ts
- test/unit/features/directives/cloak.spec.ts
- test/unit/modules/compiler/codeframe.spec.ts
- test/unit/features/options/comments.spec.ts
- test/e2e/commits.mock.ts
- test/e2e/commits.spec.ts
- test/unit/features/global-api/compile.spec.ts
- packages/compiler-sfc/test/compileScript.spec.ts
- packages/compiler-sfc/src/compileScript.ts
- packages/compiler-sfc/test/compileStyle.spec.ts
- packages/compiler-sfc/src/compileStyle.ts
- packages/compiler-sfc/test/compileTemplate.spec.ts
- packages/compiler-sfc/src/compileTemplate.ts
- test/unit/modules/server-compiler/compiler-options.spec.ts
- test/unit/features/component/component-async.spec.ts
- test/unit/features/component/component-keep-alive.spec.ts
- test/unit/features/component/component-scoped-slot.spec.ts
- test/unit/features/component/component-slot.spec.ts
- test/unit/features/component/component.spec.ts
- test/unit/features/options/components.spec.ts
- test/unit/features/options/computed.spec.ts
- test/unit/features/global-api/config.spec.ts
- test/unit/modules/vdom/create-component.spec.ts
- test/unit/modules/vdom/create-element.spec.ts
- packages/compiler-sfc/test/cssVars.spec.ts
- packages/compiler-sfc/src/cssVars.ts
- src/v3/currentInstance.ts
- test/unit/features/options/data.spec.ts
- test/unit/features/debug.spec.ts
- types/test/v3/define-async-component-test.tsx
- types/test/v3/define-component-test.tsx
- test/unit/features/options/delimiters.spec.ts
- test/unit/modules/observer/dep.spec.ts
- test/unit/features/options/directives.spec.ts
- test/e2e/e2eUtils.ts
- test/unit/modules/vdom/patch/edge-cases.spec.ts
- test/unit/features/v3/reactivity/effectScope.spec.ts
- test/unit/features/options/el.spec.ts
- src/platforms/web/entry-runtime-esm.ts
- src/platforms/web/entry-runtime-with-compiler-esm.ts
- src/platforms/web/entry-runtime-with-compiler.ts
- src/platforms/web/entry-runtime.ts
- test/unit/features/error-handling.spec.ts
- test/unit/modules/util/error.spec.ts
- src/core/util/error.ts
- test/unit/features/options/errorCaptured.spec.ts
- test/unit/features/global-api/extend.spec.ts
- src/core/global-api/extend.ts
- test/unit/features/options/extends.spec.ts
- test/unit/features/filter/filter.spec.ts
- test/unit/features/directives/for.spec.ts
- test/unit/features/options/functional.spec.ts
- src/types/global-api.ts
- test/e2e/grid.spec.ts
- src/v3/h.ts
- test/transition/helpers.ts
- test/unit/features/directives/html.spec.ts
- test/unit/features/directives/if.spec.ts
- compiler-sfc/index.d.ts
- packages/server-renderer/types/index.d.ts
- types/index.d.ts
- packages/template-compiler/types/index.d.ts
- compiler-sfc/index.mjs
- packages/compiler-sfc/src/index.ts
- src/core/index.ts
- src/core/components/index.ts
- test/unit/features/options/inheritAttrs.spec.ts
- test/unit/features/instance/init.spec.ts
- types/test/v3/inject-test.ts
- types/jsx.d.ts
- src/core/components/keep-alive.ts
- test/unit/features/options/lifecycle.spec.ts
- test/e2e/markdown.spec.ts
- test/unit/features/instance/methods-data.spec.ts
- test/unit/features/instance/methods-events.spec.ts
- test/unit/features/instance/methods-lifecycle.spec.ts
- test/unit/features/options/methods.spec.ts
- test/unit/features/global-api/mixin.spec.ts
- src/core/global-api/mixin.ts
- test/unit/features/options/mixins.spec.ts
- test/unit/features/directives/model-checkbox.spec.ts
- test/unit/features/directives/model-component.spec.ts
- test/unit/features/directives/model-dynamic.spec.ts
- test/unit/features/directives/model-file.spec.ts
- test/unit/features/directives/model-parse.spec.ts
- test/unit/features/directives/model-radio.spec.ts
- test/unit/features/directives/model-select.spec.ts
- test/unit/features/directives/model-text.spec.ts
- test/unit/features/options/name.spec.ts
- packages/server-renderer/test/fixtures/nested-cache.js
- test/unit/modules/util/next-tick.spec.ts
- src/core/util/next-tick.ts
- test/unit/features/global-api/observable.spec.ts
- test/unit/features/directives/on.spec.ts
- test/unit/features/directives/once.spec.ts
- src/v3/reactivity/operations.ts
- types/test/options-test.ts
- types/options.d.ts
- test/unit/features/options/parent.spec.ts
- packages/compiler-sfc/src/parse.ts
- packages/compiler-sfc/test/parseComponent.spec.ts
- packages/compiler-sfc/src/parseComponent.ts
- types/test/plugin-test.ts
- types/plugin.d.ts
- test/unit/features/directives/pre.spec.ts
- packages/compiler-sfc/test/prefixIdentifiers.spec.ts
- packages/compiler-sfc/src/prefixIdentifiers.ts
- test/unit/features/instance/properties.spec.ts
- test/unit/features/options/props.spec.ts
- test/unit/features/options/propsData.spec.ts
- types/test/v3/reactivity-test.ts
- src/v3/reactivity/readonly.ts
- test/unit/features/v3/reactivity/ref.spec.ts
- test/unit/features/instance/render-proxy.spec.ts
- test/unit/features/options/render.spec.ts
- test/unit/features/options/renderError.spec.ts
- packages/compiler-sfc/test/rewriteDefault.spec.ts
- packages/compiler-sfc/src/rewriteDefault.ts
- test/unit/modules/observer/scheduler.spec.ts
- packages/compiler-sfc/src/stylePlugins/scoped.ts
- packages/server-renderer/server-plugin.d.ts
- test/unit/features/global-api/set-delete.spec.ts
- types/test/setup-helpers-test.ts
- types/test/v3/setup-test.ts
- test/unit/features/v3/setupTemplateRef.spec.ts
- test/unit/features/v3/reactivity/shallowReactive.spec.ts
- test/unit/features/v3/reactivity/shallowReadonly.spec.ts
- test/helpers/shim-done.ts
- test/unit/features/directives/show.spec.ts
- packages/server-renderer/test/fixtures/split.js
- packages/compiler-sfc/src/templateCompilerModules/srcset.ts
- packages/server-renderer/test/ssr-basic-renderer.spec.ts
- packages/server-renderer/test/ssr-bundle-render.spec.ts
- packages/server-renderer/test/ssr-reactivity.spec.ts
- packages/server-renderer/test/ssr-stream.spec.ts
- packages/server-renderer/test/ssr-string.spec.ts
- src/types/ssr.ts
- test/unit/features/directives/static-style-parser.spec.ts
- test/unit/features/directives/style.spec.ts
- packages/compiler-sfc/test/stylePluginScoped.spec.ts
- packages/compiler-sfc/src/stylePreprocessors.ts
- test/e2e/svg.spec.ts
- test/unit/features/template-ref.spec.ts
- test/unit/features/options/template.spec.ts
- test/helpers/test-object-option.ts
- packages/server-renderer/test/fixtures/test.css
- packages/server-renderer/types/test.ts
- packages/template-compiler/types/test.ts
- test/unit/features/directives/text.spec.ts
- test/helpers/to-have-warned.ts
- test/unit/modules/util/toString.spec.ts
- test/e2e/todomvc.spec.ts
- test/transition/transition-group.spec.ts
- test/transition/transition-mode.spec.ts
- test/transition/transition-with-keep-alive.spec.ts
- test/transition/transition.spec.ts
- test/e2e/tree.spec.ts
- test/helpers/trigger-event.ts
- packages/compiler-sfc/src/stylePlugins/trim.ts
- types/test/v3/tsx-test.tsx
- packages/compiler-sfc/src/types.ts
- types/umd.d.ts
- test/unit/features/global-api/use.spec.ts
- src/core/global-api/use.ts
- src/v3/sfc-helpers/useCssModule.ts
- test/unit/features/v3/useCssVars.spec.ts
- src/v3/sfc-helpers/useCssVars.ts
- packages/compiler-sfc/test/util.ts
- packages/server-renderer/test/utils.ts
- src/types/utils.ts
- packages/compiler-sfc/src/templateCompilerModules/utils.ts
- types/test/utils.ts
- types/v3-component-options.d.ts
- types/v3-component-props.d.ts
- types/v3-component-public-instance.d.ts
- types/v3-define-async-component.d.ts
- types/v3-define-component.d.ts
- types/v3-directive.d.ts
- types/v3-manual-apis.d.ts
- types/v3-setup-context.d.ts
- types/v3-setup-helpers.d.ts
- test/helpers/vdom.ts
- test/vitest.setup.ts
- types/vnode.d.ts
- types/test/vue-test.ts
- types/vue.d.ts
- test/helpers/wait-for-update.ts
- packages/compiler-sfc/src/warn.ts
- types/test/v3/watch-test.ts
- test/unit/features/options/watch.spec.ts
Source
- test/unit/features/options/_scopeId.spec.ts
- test/unit/features/v3/apiAsyncComponent.spec.ts
- src/v3/apiAsyncComponent.ts
- test/unit/features/v3/apiInject.spec.ts
- src/v3/apiInject.ts
- test/unit/features/v3/apiLifecycle.spec.ts
- src/v3/apiLifecycle.ts
- test/unit/features/v3/apiSetup.spec.ts
- src/v3/apiSetup.ts
- packages/server-renderer/test/fixtures/app.js
- packages/compiler-sfc/src/templateCompilerModules/assetUrl.ts
- test/unit/features/global-api/assets.spec.ts
- src/core/global-api/assets.ts
- types/test/async-component-test.ts
- test/e2e/async-edge-cases.spec.ts
- packages/server-renderer/test/fixtures/async-foo.js
- types/test/augmentation-test.ts
- packages/compiler-sfc/src/babelUtils.ts
- test/e2e/basic-ssr.spec.ts
- test/unit/features/directives/bind.spec.ts
- types/built-in-components.d.ts
- packages/server-renderer/test/fixtures/cache-opt-out.js
- packages/server-renderer/test/fixtures/cache.js
- test/unit/features/directives/class.spec.ts
- test/helpers/classlist.ts
- packages/server-renderer/client-plugin.d.ts
- test/unit/features/directives/cloak.spec.ts
- test/unit/modules/compiler/codeframe.spec.ts
- test/unit/features/options/comments.spec.ts
- test/e2e/commits.mock.ts
- test/e2e/commits.spec.ts
- test/unit/features/global-api/compile.spec.ts
- packages/compiler-sfc/test/compileScript.spec.ts
- packages/compiler-sfc/src/compileScript.ts
- packages/compiler-sfc/test/compileStyle.spec.ts
- packages/compiler-sfc/src/compileStyle.ts
- packages/compiler-sfc/test/compileTemplate.spec.ts
- packages/compiler-sfc/src/compileTemplate.ts
- test/unit/modules/server-compiler/compiler-options.spec.ts
- test/unit/features/component/component-async.spec.ts
- test/unit/features/component/component-keep-alive.spec.ts
- test/unit/features/component/component-scoped-slot.spec.ts
- test/unit/features/component/component-slot.spec.ts
- test/unit/features/component/component.spec.ts
- test/unit/features/options/components.spec.ts
- test/unit/features/options/computed.spec.ts
- test/unit/features/global-api/config.spec.ts
- test/unit/modules/vdom/create-component.spec.ts
- test/unit/modules/vdom/create-element.spec.ts
- packages/compiler-sfc/test/cssVars.spec.ts
- packages/compiler-sfc/src/cssVars.ts
- src/v3/currentInstance.ts
- test/unit/features/options/data.spec.ts
- test/unit/features/debug.spec.ts
- types/test/v3/define-async-component-test.tsx
- types/test/v3/define-component-test.tsx
- test/unit/features/options/delimiters.spec.ts
- test/unit/modules/observer/dep.spec.ts
- test/unit/features/options/directives.spec.ts
- test/e2e/e2eUtils.ts
- test/unit/modules/vdom/patch/edge-cases.spec.ts
- test/unit/features/v3/reactivity/effectScope.spec.ts
- test/unit/features/options/el.spec.ts
- src/platforms/web/entry-runtime-esm.ts
- src/platforms/web/entry-runtime-with-compiler-esm.ts
- src/platforms/web/entry-runtime-with-compiler.ts
- src/platforms/web/entry-runtime.ts
- test/unit/features/error-handling.spec.ts
- test/unit/modules/util/error.spec.ts
- src/core/util/error.ts
- test/unit/features/options/errorCaptured.spec.ts
- test/unit/features/global-api/extend.spec.ts
- src/core/global-api/extend.ts
- test/unit/features/options/extends.spec.ts
- test/unit/features/filter/filter.spec.ts
- test/unit/features/directives/for.spec.ts
- test/unit/features/options/functional.spec.ts
- src/types/global-api.ts
- test/e2e/grid.spec.ts
- src/v3/h.ts
- test/transition/helpers.ts
- test/unit/features/directives/html.spec.ts
- test/unit/features/directives/if.spec.ts
- compiler-sfc/index.d.ts
- packages/server-renderer/types/index.d.ts
- types/index.d.ts
- packages/template-compiler/types/index.d.ts
- compiler-sfc/index.mjs
- packages/compiler-sfc/src/index.ts
- src/core/index.ts
- src/core/components/index.ts
- test/unit/features/options/inheritAttrs.spec.ts
- test/unit/features/instance/init.spec.ts
- types/test/v3/inject-test.ts
- types/jsx.d.ts
- src/core/components/keep-alive.ts
- test/unit/features/options/lifecycle.spec.ts
- test/e2e/markdown.spec.ts
- test/unit/features/instance/methods-data.spec.ts
- test/unit/features/instance/methods-events.spec.ts
- test/unit/features/instance/methods-lifecycle.spec.ts
- test/unit/features/options/methods.spec.ts
- test/unit/features/global-api/mixin.spec.ts
- src/core/global-api/mixin.ts
- test/unit/features/options/mixins.spec.ts
- test/unit/features/directives/model-checkbox.spec.ts
- test/unit/features/directives/model-component.spec.ts
- test/unit/features/directives/model-dynamic.spec.ts
- test/unit/features/directives/model-file.spec.ts
- test/unit/features/directives/model-parse.spec.ts
- test/unit/features/directives/model-radio.spec.ts
- test/unit/features/directives/model-select.spec.ts
- test/unit/features/directives/model-text.spec.ts
- test/unit/features/options/name.spec.ts
- packages/server-renderer/test/fixtures/nested-cache.js
- test/unit/modules/util/next-tick.spec.ts
- src/core/util/next-tick.ts
- test/unit/features/global-api/observable.spec.ts
- test/unit/features/directives/on.spec.ts
- test/unit/features/directives/once.spec.ts
- src/v3/reactivity/operations.ts
- types/test/options-test.ts
- types/options.d.ts
- test/unit/features/options/parent.spec.ts
- packages/compiler-sfc/src/parse.ts
- packages/compiler-sfc/test/parseComponent.spec.ts
- packages/compiler-sfc/src/parseComponent.ts
- types/test/plugin-test.ts
- types/plugin.d.ts
- test/unit/features/directives/pre.spec.ts
- packages/compiler-sfc/test/prefixIdentifiers.spec.ts
- packages/compiler-sfc/src/prefixIdentifiers.ts
- test/unit/features/instance/properties.spec.ts
- test/unit/features/options/props.spec.ts
- test/unit/features/options/propsData.spec.ts
- types/test/v3/reactivity-test.ts
- src/v3/reactivity/readonly.ts
- test/unit/features/v3/reactivity/ref.spec.ts
- test/unit/features/instance/render-proxy.spec.ts
- test/unit/features/options/render.spec.ts
- test/unit/features/options/renderError.spec.ts
- packages/compiler-sfc/test/rewriteDefault.spec.ts
- packages/compiler-sfc/src/rewriteDefault.ts
- test/unit/modules/observer/scheduler.spec.ts
- packages/compiler-sfc/src/stylePlugins/scoped.ts
- packages/server-renderer/server-plugin.d.ts
- test/unit/features/global-api/set-delete.spec.ts
- types/test/setup-helpers-test.ts
- types/test/v3/setup-test.ts
- test/unit/features/v3/setupTemplateRef.spec.ts
- test/unit/features/v3/reactivity/shallowReactive.spec.ts
- test/unit/features/v3/reactivity/shallowReadonly.spec.ts
- test/helpers/shim-done.ts
- test/unit/features/directives/show.spec.ts
- packages/server-renderer/test/fixtures/split.js
- packages/compiler-sfc/src/templateCompilerModules/srcset.ts
- packages/server-renderer/test/ssr-basic-renderer.spec.ts
- packages/server-renderer/test/ssr-bundle-render.spec.ts
- packages/server-renderer/test/ssr-reactivity.spec.ts
- packages/server-renderer/test/ssr-stream.spec.ts
- packages/server-renderer/test/ssr-string.spec.ts
- src/types/ssr.ts
- test/unit/features/directives/static-style-parser.spec.ts
- test/unit/features/directives/style.spec.ts
- packages/compiler-sfc/test/stylePluginScoped.spec.ts
- packages/compiler-sfc/src/stylePreprocessors.ts
- test/e2e/svg.spec.ts
- test/unit/features/template-ref.spec.ts
- test/unit/features/options/template.spec.ts
- test/helpers/test-object-option.ts
- packages/server-renderer/test/fixtures/test.css
- packages/server-renderer/types/test.ts
- packages/template-compiler/types/test.ts
- test/unit/features/directives/text.spec.ts
- test/helpers/to-have-warned.ts
- test/unit/modules/util/toString.spec.ts
- test/e2e/todomvc.spec.ts
- test/transition/transition-group.spec.ts
- test/transition/transition-mode.spec.ts
- test/transition/transition-with-keep-alive.spec.ts
- test/transition/transition.spec.ts
- test/e2e/tree.spec.ts
- test/helpers/trigger-event.ts
- packages/compiler-sfc/src/stylePlugins/trim.ts
- types/test/v3/tsx-test.tsx
- packages/compiler-sfc/src/types.ts
- types/umd.d.ts
- test/unit/features/global-api/use.spec.ts
- src/core/global-api/use.ts
- src/v3/sfc-helpers/useCssModule.ts
- test/unit/features/v3/useCssVars.spec.ts
- src/v3/sfc-helpers/useCssVars.ts
- packages/compiler-sfc/test/util.ts
- packages/server-renderer/test/utils.ts
- src/types/utils.ts
- packages/compiler-sfc/src/templateCompilerModules/utils.ts
- types/test/utils.ts
- types/v3-component-options.d.ts
- types/v3-component-props.d.ts
- types/v3-component-public-instance.d.ts
- types/v3-define-async-component.d.ts
- types/v3-define-component.d.ts
- types/v3-directive.d.ts
- types/v3-manual-apis.d.ts
- types/v3-setup-context.d.ts
- types/v3-setup-helpers.d.ts
- test/helpers/vdom.ts
- test/vitest.setup.ts
- types/vnode.d.ts
- types/test/vue-test.ts
- types/vue.d.ts
- test/helpers/wait-for-update.ts
- packages/compiler-sfc/src/warn.ts
- types/test/v3/watch-test.ts
- test/unit/features/options/watch.spec.ts
Frequently Asked Questions
What is the CompilerSFC domain?
The CompilerSFC domain is an architectural grouping in the vue codebase. Handles the parsing and compilation of Vue Single File Components into JavaScript, CSS, and Template render functions. It contains 215 source files.
What subdomains are in CompilerSFC?
The CompilerSFC domain contains 3 subdomain(s): DescriptorParser, ScriptCompiler, StyleProcessor.
How many files are in CompilerSFC?
The CompilerSFC domain contains 215 source files.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free