Skip to main content
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.13.1/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; }