Home / Type/ RenderOptions Type — vue Architecture

RenderOptions Type — vue Architecture

Architecture documentation for the RenderOptions type/interface in create-renderer.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  3bbf5d01_ff3c_efe0_4c2b_62e68603ddcb["RenderOptions"]
  38cdd14a_61b8_35ed_893f_b542594d7017["create-renderer.ts"]
  3bbf5d01_ff3c_efe0_4c2b_62e68603ddcb -->|defined in| 38cdd14a_61b8_35ed_893f_b542594d7017
  style 3bbf5d01_ff3c_efe0_4c2b_62e68603ddcb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/server-renderer/src/create-renderer.ts lines 26–41

export type RenderOptions = {
  modules?: Array<(vnode: VNode) => string | null>
  directives?: Object
  isUnaryTag?: Function
  cache?: RenderCache
  template?:
    | string
    | ((content: string, context: any) => string | Promise<string>)
  inject?: boolean
  basedir?: string
  shouldPreload?: Function
  shouldPrefetch?: Function
  clientManifest?: ClientManifest
  serializer?: Function
  runInNewContext?: boolean | 'once'
}

Frequently Asked Questions

What is the RenderOptions type?
RenderOptions is a type/interface in the vue codebase, defined in packages/server-renderer/src/create-renderer.ts.
Where is RenderOptions defined?
RenderOptions is defined in packages/server-renderer/src/create-renderer.ts at line 26.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free