Getting started with LadrillosJS
A lightweight, zero-dependency web component framework. Build reactive UIs
with plain .html files — no JSX, no virtual DOM, no compiler
required. You'll have your first component running in about five minutes.
1. Install
Pick the path that fits your project. Both paths work the same way.
2. Your first component
All it takes is one .html file — a bit of markup, a short
<script>, and optional <style>. By the end
of this section you'll have a working counter on the page.
Create the component
Save this as counter.html:
Count: {count}
Register it
Now connect your tag to its file so the browser knows what to render when it sees it.
Use it anywhere
Drop the tag into your HTML — it's a real custom element.
let variable and the DOM updates when you change it.