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

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'
}

Analyze Your Own Codebase

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

Try Supermodel Free