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 build

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

Prefer Vite options in sitelo.config.js under vite for anything you reuse across commands.