vUX v4.1.0 documentation
Build interfaces in plain JavaScript.
vUX is a dependency-free UI library for the browser: your own components from your own markup, shared state, routing, forms, dialogs and more. No build step, no virtual DOM.
html
<script type="module" src="main.js" data-id="vUX" data-library-root="/lib/vUX/"></script>js
import { Store } from "/lib/vUX/vUX-store.js";
const cart = new Store({ items: [] });
cart.initialize();
cart.subscribe((state, changed) => console.log(changed), ["items"]);Find your way
Get startedWhat vUX is, how a page loads it, and your first component.ConceptsThe ideas every vUX module shares.TutorialsStep-by-step builds that combine several modules.ExamplesEvery module running live: a playground of its settings, the code, and its validation errors on demand.ReferenceThe full API of every module: configuration, methods, events and errors.Release notesEvery addition, fix, removal and rename, release by release.