import { Environment } from "https://dotland.deno.dev/x/lume@v2.4.2/deps/vento.ts";
Methods
compile(): Template
source: string,
path?: string,
defaults?: Record<string, unknown>,
sync?: false,
compile(): TemplateSync
source: string,
path?: string,
defaults?: Record<string, unknown>,
sync?: true,
compileFilters(): string
compileTokens(): string[]
createError(): Error
path: string,
source: string,
position: number,
cause: Error,
load(file: string, from?: string): Promise<Template>
run(): Promise<TemplateResult>
file: string,
data: Record<string, unknown>,
from?: string,
runString(): Promise<TemplateResult>
source: string,
data?: Record<string, unknown>,
file?: string,
runStringSync(source: string, data?: Record<string, unknown>): TemplateResult