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
  fe0b5001_3e94_4b46_7e59_1447aeece669["RenderOptions"]
  53b05d28_585e_4d3e_ad81_d6a7ef6875f2["create-renderer.ts"]
  fe0b5001_3e94_4b46_7e59_1447aeece669 -->|defined in| 53b05d28_585e_4d3e_ad81_d6a7ef6875f2
  style fe0b5001_3e94_4b46_7e59_1447aeece669 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