Build your first Muam project in under 10 minutes with zero configuration.
Let's Begin
npm create muam@latest
This command sets up a new Muam project with all necessary dependencies and file structure.
// src/components/Counter.js
import { state, view } from 'muam';
export default function Counter() {
const count = state(0);
return view`
Count: ${count}
`;
}
// src/main.js
import { init } from 'muam';
import Counter from './components/Counter';
document.body.innerHTML = init(Counter);
npm run dev
Open your browser at localhost:3000
to see your app running.
Reactive state with automatic dependency tracking that updates UI seamlessly.
Simplified template syntax combining HTML and JavaScript for intuitive UI construction.
Explore advanced topics: routing, state persistence, and API integrations in the full Muam documentation.
📘 Full Docs 🚀 Advanced Tutorials