Home / Type/ TemplateRendererOptions Type — vue Architecture

TemplateRendererOptions Type — vue Architecture

Architecture documentation for the TemplateRendererOptions type/interface in index.ts from the vue codebase.

Entity Profile

Source Code

packages/server-renderer/src/template-renderer/index.ts lines 11–20

type TemplateRendererOptions = {
  template?:
    | string
    | ((content: string, context: any) => string | Promise<string>)
  inject?: boolean
  clientManifest?: ClientManifest
  shouldPreload?: (file: string, type: string) => boolean
  shouldPrefetch?: (file: string, type: string) => boolean
  serializer?: Function
}

Analyze Your Own Codebase

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

Try Supermodel Free