38 lines
729 B
Markdown
38 lines
729 B
Markdown
# VOID::NAV
|
|
|
|
Vite + React + TypeScript documentation and prototype hub for the Space-Game project.
|
|
|
|
## Development
|
|
|
|
```bash
|
|
pnpm install
|
|
pnpm dev
|
|
```
|
|
|
|
## Build
|
|
|
|
```bash
|
|
pnpm build
|
|
```
|
|
|
|
## Routes
|
|
|
|
- `/` - landing page
|
|
- `/docs` - documentation overview
|
|
- `/docs/demos/*` - converted interactive demos
|
|
- `/docs/prototypes/game-hud` - HUD style reference for future demos
|
|
- `/app` - future game application shell
|
|
|
|
## Browser Routing
|
|
|
|
This app uses browser-history routes. The Vite dev server works without extra setup.
|
|
Static production hosting must rewrite all routes to `index.html`.
|
|
|
|
Example Netlify rule:
|
|
|
|
```text
|
|
/* /index.html 200
|
|
```
|
|
|
|
For Vercel or another static host, configure the equivalent SPA fallback to `index.html`.
|