Aller au contenu principal
Version: Next

NunjucksView

Implements

  • IViewEngine

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

nunjucks

Methods

render

  • render(name: string, locals?: Record<string, any>, options?: RenderOptions): Promise<string>

renderString

  • renderString(tpl: string, locals?: Record<string, any>, options?: RenderOptions): Promise<string>