Minimal Phaser3 + Create React App template
MIT License
This project was bootstrapped with Create React App.
src/PhaserGame.ts
and a scene in src/scenes/
src/App.tsx
showing how to communicate with Phaser within a React componentClone the project and in the project directory, you can run:
yarn install
or npm install
Install all the packages in create react app
+ Phaser 3
yarn start
or npm run start
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
yarn build
or npm run build
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.