CLI Commands

Dev Server

terminal
npm run dev

Starts the local dev server with hot-reload at http://localhost:4321.

Build

terminal
npm run build

Builds the static site to dist/.

Preview

terminal
npm run preview

Serves the production build locally to verify before deploying.