CLI
The sitelo CLI wraps the bundled Vite and auto-injects the HTML pages plugin.
Commands
sitelo # same as sitelo dev
sitelo dev # development server
sitelo build # production build
sitelo preview # preview the production builddev— real SSR renders on request, including dynamic routes, plus a small dev toolbarbuild— static HTML indist/(or youroutDir)preview— serve the production build locally
Disable the toolbar with devToolbar: false in sitelo.config.js — see Configuration.
Useful flags
sitelo --port 8888
sitelo build --outDir public --emptyOutDir
sitelo --root docs--port/--host/--open— server--outDir/--emptyOutDir/--base— build--root— project root (handy for adocs/site)--config— custom Vite config file--mode/--logLevel/--debug
Prefer Vite options in sitelo.config.js under vite for anything you reuse across commands.