Module

x/lume/plugins/vento.ts>VentoEngine

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class VentoEngine
implements Engine
import { VentoEngine } from "https://dotland.deno.dev/x/lume@v2.2.1/plugins/vento.ts";

Template engine to render Vento files

Constructors

new
VentoEngine(engine: Environment, includes: string)

Properties

engine: Environment
includes: string

Methods

addHelper(
name: string,
fn: Helper,
options: HelperOptions,
)
deleteCache(file: string)
render(
content: string,
data?: Record<string, unknown>,
filename?: string,
)
renderComponent(content: string, data?: Record<string, unknown>): string