- Node.js 24+
- npm or yarn
npm installnpm run devThe site will be available at http://localhost:3000
The dev server runs three processes concurrently:
- JS Bundler - Watches and rebuilds JavaScript with esbuild
- CSS Compiler - Watches and rebuilds Tailwind CSS
- HTTP Server - Serves the
dist/directory
npm run buildThe dist/ directory contains everything needed for deployment:
dist/
├── index.html # Main HTML
├── main.js # Bundled JavaScript
├── output.css # Compiled CSS
└── images # Copied from public/images
npm run dev- Start development server with watch modenpm run build- Build for productionnpm run preview- Preview production buildnpm run clean- Remove dist directory