Home / Function/ installSSRHelpers() — vue Function Reference

installSSRHelpers() — vue Function Reference

Architecture documentation for the installSSRHelpers() function in runtime-helpers.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  1cf9ad06_bc18_bc90_6eaf_65ccc1f6cd04["installSSRHelpers()"]
  bcfdaca3_f60a_836c_8a8e_ab6eb04bb14e["createRenderFunction()"]
  bcfdaca3_f60a_836c_8a8e_ab6eb04bb14e -->|calls| 1cf9ad06_bc18_bc90_6eaf_65ccc1f6cd04
  7a0093e3_a58a_af71_971f_488b65897e74["extend()"]
  1cf9ad06_bc18_bc90_6eaf_65ccc1f6cd04 -->|calls| 7a0093e3_a58a_af71_971f_488b65897e74
  style 1cf9ad06_bc18_bc90_6eaf_65ccc1f6cd04 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)
  }
}

Subdomains

Calls

Frequently Asked Questions

What does installSSRHelpers() do?
installSSRHelpers() is a function in the vue codebase.
What does installSSRHelpers() call?
installSSRHelpers() calls 1 function(s): extend.
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