ScriptSetup — vue Architecture
Handles the specialized logic for the Vue 3 style <script setup> macro
Entity Profile
Dependency Diagram
graph TD subdomain_CompilerSFC_ScriptSetup["ScriptSetup"] 9c689739_78ac_ee2a_e09a_aebe58704c24["hydration.spec.ts"] subdomain_CompilerSFC_ScriptSetup --> 9c689739_78ac_ee2a_e09a_aebe58704c24 961c84b2_5dba_abdc_b10f_9920416f9855["next-tick.ts"] subdomain_CompilerSFC_ScriptSetup --> 961c84b2_5dba_abdc_b10f_9920416f9855 c3a49167_9d34_1e1c_f9a3_169bce99ed48["async-foo.js"] subdomain_CompilerSFC_ScriptSetup --> c3a49167_9d34_1e1c_f9a3_169bce99ed48 c846700a_db0a_3130_cfba_6f375d30374c["wait-for-update.ts"] subdomain_CompilerSFC_ScriptSetup --> c846700a_db0a_3130_cfba_6f375d30374c 9d9115cf_dcee_b3a2_72e5_c53b39c1637a["v3-setup-helpers.d.ts"] subdomain_CompilerSFC_ScriptSetup --> 9d9115cf_dcee_b3a2_72e5_c53b39c1637a 12c02108_901c_7446_38b9_6ce880fdc2e9["class.spec.ts"] subdomain_CompilerSFC_ScriptSetup --> 12c02108_901c_7446_38b9_6ce880fdc2e9 0576b005_6bb3_efad_577c_47a40d61ac1b["v3-define-async-component.d.ts"] subdomain_CompilerSFC_ScriptSetup --> 0576b005_6bb3_efad_577c_47a40d61ac1b ed9fa5a9_85c6_a3d8_7ac8_13945b081627["vue-test.ts"] subdomain_CompilerSFC_ScriptSetup --> ed9fa5a9_85c6_a3d8_7ac8_13945b081627 5041be68_a7a7_b790_0715_2e63c2bc8bab["readonly.ts"] subdomain_CompilerSFC_ScriptSetup --> 5041be68_a7a7_b790_0715_2e63c2bc8bab 13bc0dc8_55c1_f33a_4ac8_3803c080e66e["v3-setup-context.d.ts"] subdomain_CompilerSFC_ScriptSetup --> 13bc0dc8_55c1_f33a_4ac8_3803c080e66e 9bd635b7_5d8b_ed2d_8f45_da42c7f692de["setup-test.ts"] subdomain_CompilerSFC_ScriptSetup --> 9bd635b7_5d8b_ed2d_8f45_da42c7f692de 84516706_4b4c_61da_0143_e01d88e35910["vue.d.ts"] subdomain_CompilerSFC_ScriptSetup --> 84516706_4b4c_61da_0143_e01d88e35910 bd5ee657_67f1_b93c_7859_1f0b9fd0a021["lang.ts"] subdomain_CompilerSFC_ScriptSetup --> bd5ee657_67f1_b93c_7859_1f0b9fd0a021 0221b22c_f122_4493_717e_82a4299c2000["cache.js"] subdomain_CompilerSFC_ScriptSetup --> 0221b22c_f122_4493_717e_82a4299c2000 style subdomain_CompilerSFC_ScriptSetup fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Domain
Functions
- ComponentWithStyleInVNodeData.render()
- Foo()
- FunctionalHelloWorldComponent.render()
- FunctionalScopedSlotsComponent.render()
- GlobalAPI()
- HelloWorldComponent.data()
- Parent.data()
- Promise()
- ReturnType()
- T()
- T()
- TResult()
- Vue()
- Vue()
- a()
- addHooks()
- app.serverCacheKey()
- args()
- args()
- assertBothInstancesActive()
- assertClass()
- bailType()
- bar()
- blue()
- cached()
- change()
- child.serverCacheKey()
- classify()
- compileWithWebpack()
- computed()
- constructor()
- count()
- createCompareFn()
- createErrorTestComponents()
- createMockSSRDOM()
- createRenderer()
- createTextVNode()
- d()
- decorate()
- default.beforeCreate()
- default.destroyed()
- defineAsyncComponent()
- describe()
- e()
- el()
- el()
- err()
- expectByPolling()
- expectError()
- exports()
- filters.all()
- filters.completed()
- flushCallbacks()
- formatComponentName()
- genStaticKeys()
- getCurrentScope()
- h()
- hyphenate()
- id()
- initAssetRegisters()
- initComputed()
- inject()
- injectHook()
- invokeWithErrorHandling()
- isFalse()
- isObject()
- isRegExp()
- isReserved()
- isServerRendering()
- isShallow()
- isUndef()
- key()
- main()
- makeMap()
- map()
- mark()
- msg()
- noop()
- once()
- option.data()
- payload()
- pruneCache()
- publishPackage()
- readonly()
- ref()
- resolve()
- run()
- run()
- setCurrentInstance()
- setupPuppeteer()
- shallowReactive()
- shallowReadonly()
- shallowRef()
- source2()
- state()
- staticMethod()
- stop()
- target()
- test()
- testConfig()
- testMethods()
- testProperties()
- testReification()
- timeout()
- timerFunc()
- toArray()
- toHaveBeenTipped()
- toHaveBeenTipped()
- toHaveBeenWarned()
- toRaw()
- toRef()
- toString()
- todoStorage.fetch()
- track()
- unref()
- updateSelect()
- v()
- vm.render()
- vm.setup()
- waitForUpdate()
- waitForUpdate()
- write()
Source Files
- scripts/alias.js
- src/core/global-api/assets.ts
- types/test/async-component-test.ts
- packages/server-renderer/test/fixtures/async-foo.js
- types/built-in-components.d.ts
- packages/server-renderer/test/fixtures/cache.js
- test/unit/features/directives/class.spec.ts
- packages/server-renderer/test/compile-with-webpack.ts
- src/core/util/debug.ts
- src/core/util/env.ts
- test/unit/features/error-handling.spec.ts
- src/v3/h.ts
- test/unit/modules/vdom/patch/hydration.spec.ts
- src/core/util/lang.ts
- src/core/util/next-tick.ts
- src/core/util/perf.ts
- types/plugin.d.ts
- src/v3/reactivity/readonly.ts
- types/test/v3/setup-test.ts
- packages/server-renderer/test/fixtures/split.js
- test/test-env.d.ts
- src/shared/util.ts
- types/test/utils.ts
- types/v3-define-async-component.d.ts
- types/v3-setup-context.d.ts
- types/v3-setup-helpers.d.ts
- test/helpers/vdom.ts
- src/types/vnode.ts
- types/test/vue-test.ts
- types/vue.d.ts
- test/helpers/wait-for-update.ts
- types/test/v3/watch-test.ts
Source
- scripts/alias.js
- src/core/global-api/assets.ts
- types/test/async-component-test.ts
- packages/server-renderer/test/fixtures/async-foo.js
- types/built-in-components.d.ts
- packages/server-renderer/test/fixtures/cache.js
- test/unit/features/directives/class.spec.ts
- packages/server-renderer/test/compile-with-webpack.ts
- src/core/util/debug.ts
- src/core/util/env.ts
- test/unit/features/error-handling.spec.ts
- src/v3/h.ts
- test/unit/modules/vdom/patch/hydration.spec.ts
- src/core/util/lang.ts
- src/core/util/next-tick.ts
- src/core/util/perf.ts
- types/plugin.d.ts
- src/v3/reactivity/readonly.ts
- types/test/v3/setup-test.ts
- packages/server-renderer/test/fixtures/split.js
- test/test-env.d.ts
- src/shared/util.ts
- types/test/utils.ts
- types/v3-define-async-component.d.ts
- types/v3-setup-context.d.ts
- types/v3-setup-helpers.d.ts
- test/helpers/vdom.ts
- src/types/vnode.ts
- types/test/vue-test.ts
- types/vue.d.ts
- test/helpers/wait-for-update.ts
- types/test/v3/watch-test.ts
Frequently Asked Questions
What is the ScriptSetup subdomain?
ScriptSetup is a subdomain in the vue codebase, part of the CompilerSFC domain. Handles the specialized logic for the Vue 3 style