The jQuery plugin for the temples template engine. It renders
data into each matched element with the same data-* binding attributes as the standalone engine.
bun add @temples/jquery jqueryjQuery is a peer dependency: load it before importing the plugin.
import $ from "jquery";
import "@temples/jquery";
$(".list").temples({ items: ["Milk", "Bread"] }); // render data into each matched element
const renderer = $(".list").temples(); // get the prepared RendererThe main @temples/engine entry never touches $; the plugin is tree-shakeable and only this
import registers $.fn.temples.
Full guides and API reference: https://zipang.github.io/temples/
MIT