What problem does it solve?
Nitro v3 in dean-stack — driven internally by TanStack Start, NOT via a standalone nitro.config.ts. Owns the GH Pages base-path env contract (BASE_PATH), the SPA-fallback 404.html, the .nojekyll marker, and the prerender→dist/client/ output. Triggers on: nitro, github_pages, BASE_PATH, baseURL, prerender, SPA fallback 404, .nojekyll, GH Pages deploy.
Core Features & Use Cases
- Owns the BASE_PATH environment contract — the canonical channel that drives Vite's base and therefore every emitted asset URL across GitHub Pages deployments.
- Manages the post-Vite-build steps that turn dist/client/ into a GH-Pages-compliant payload: copy dist/client/index.html to dist/client/404.html and touch dist/client/.nojekyll.
- Defers to TanStack Start, Vite, and Nitro v3 tooling for app-level prerendering and deployment gating.
Quick Start
Use Nitro v3 integration to ensure the static build artifacts are correctly prepared and deployed to GitHub Pages with the base path contract.