Build seamless game loop prototype
This commit is contained in:
37
README.md
Normal file
37
README.md
Normal file
@@ -0,0 +1,37 @@
|
||||
# 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`.
|
||||
Reference in New Issue
Block a user