Simple game with @react-three/fiber
NOTE: this is a simple draft, not a final product
Set Node.js version specified in .nvmrc
file:
nvm use
(Optional) Create a file with environment variables for debugging:
cp .env.example .env.local
Run the development server:
npm run dev
Build the project (it also runs ESLint & TypeScript checks):
npm run build
npm run export
Once built, it can be previewed via:
npm run prod