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

x/lume/plugins/jsx.ts>JsxEngine

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class JsxEngine
implements Engine
import { JsxEngine } from "https://deno.land/x/lume@v1.17.2/plugins/jsx.ts";

Template engine to render JSX files

Constructors

new
JsxEngine(basePath: string)

Properties

basePath: string
helpers: Record<string, Helper>

Methods

addHelper(name: string, fn: Helper)
render(content: unknown, data?: Data)
renderSync(content: unknown, data?: Data): { toString(): string; }