import { Environment } from "https://deno.land/x/lume@v1.19.4/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
use(plugin: Plugin)