class NunjucksEngine
implements Engine
import { NunjucksEngine } from "https://deno.land/x/lume@v2.2.4/plugins/nunjucks.ts";
Template engine to render Nunjucks files
Methods
deleteCache(file: string): void
getTemplate(content: string, filename: string)
render(): Promise<string>
content: string,
data?: Record<string, unknown>,
filename?: string,
renderComponent(): string
content: string,
data?: Record<string, unknown>,
filename?: string,