installSSRHelpers() — vue Function Reference
Architecture documentation for the installSSRHelpers() function in runtime-helpers.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 28ad8384_f7b2_0454_204e_37323319fd93["installSSRHelpers()"] b4035da1_cf86_9027_2643_66e42fd3924f["runtime-helpers.ts"] 28ad8384_f7b2_0454_204e_37323319fd93 -->|defined in| b4035da1_cf86_9027_2643_66e42fd3924f 35709e8a_b6bd_4fb5_7079_31de385b8542["createRenderFunction()"] 35709e8a_b6bd_4fb5_7079_31de385b8542 -->|calls| 28ad8384_f7b2_0454_204e_37323319fd93 style 28ad8384_f7b2_0454_204e_37323319fd93 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/server-renderer/src/optimizing-compiler/runtime-helpers.ts lines 31–47
export function installSSRHelpers(vm: Component) {
if (vm._ssrNode) {
return
}
let Vue = vm.constructor
// @ts-expect-error
while (Vue.super) {
// @ts-expect-error
Vue = Vue.super
}
extend(Vue.prototype, ssrHelpers)
// @ts-expect-error
if (Vue.FunctionalRenderContext) {
// @ts-expect-error
extend(Vue.FunctionalRenderContext.prototype, ssrHelpers)
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does installSSRHelpers() do?
installSSRHelpers() is a function in the vue codebase, defined in packages/server-renderer/src/optimizing-compiler/runtime-helpers.ts.
Where is installSSRHelpers() defined?
installSSRHelpers() is defined in packages/server-renderer/src/optimizing-compiler/runtime-helpers.ts at line 31.
What calls installSSRHelpers()?
installSSRHelpers() is called by 1 function(s): createRenderFunction.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free