JUST DOMJUST-DOM

Installation

Install Just DOM in your project

New Vite project CLI

The fastest way to try Just DOM in a real app is create-just-dom: it runs Vite, adds just-dom, writes jd.config, and optionally installs @just-dom/router, @just-dom/signals, @just-dom/lucide, plus an optional CSS stack (none, Tailwind CSS v4, or Tailwind + DaisyUI).

npm create just-dom@latest
npm create just-dom@latest my-app
npm create just-dom@latest .   # current directory (must be empty)

Interactively you choose language, then CSS framework, then plugins (any combination). --yes skips prompts with defaults: TypeScript, no plugins, no CSS framework. For scripts and CI, see flags on Start a new project (npm create just-dom@latest -- --help).


Package Manager

Install Just DOM using your preferred package manager:

npm install just-dom

Manual Download

You can also download the library directly from the GitHub releases page and include it in your project.

Verify Installation

After installation, verify that everything works by creating a simple element:

import DOM from "just-dom";

const el = DOM.div({ className: "test" }, "It works!");
console.log(el); // HTMLDivElement

Next Steps

Now that you have Just DOM installed, check out the Getting Started guide to learn how to use it. When you add plugins, the usual pattern is a single App setup (jd.config) module that re-exports jd.

On this page