- Install:
npm install - Dev server:
npm run dev(Vite onhttp://localhost:5173) - Build:
npm run build→ outputs todist/ - Preview:
npm run preview
Deploys automatically on push to master via GitHub Actions → Pages using the official actions/deploy-pages workflow.
vite.config.ts attempts to infer the correct base from your git remote (repo name). If assets 404 on Pages, set it explicitly in vite.config.ts, e.g.:
export default defineConfig({
base: "/dead-cat-bounce/",
});If using a custom domain, add a public/CNAME file and configure the domain in the repo’s Pages settings.