Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/deps/vento.ts>Environment#compile

🔥 Static site generator for Deno 🦕
Very Popular
Latest
method Environment.prototype.compile
import { Environment } from "https://deno.land/x/lume@v2.4.1/deps/vento.ts";

Parameters

source: string
optional
path: string
optional
defaults: Record<string, unknown>
optional
sync: false

Returns

Template

Parameters

source: string
optional
path: string
optional
defaults: Record<string, unknown>
optional
sync: true

Returns

TemplateSync