This is a Phaser 3 project with TypeScript and Vite.
You can run the project on your local machine with the commands below.
Command | Description |
---|---|
npm install |
Install project dependencies |
npm run dev |
Builds project and open web server, watching for changes |
npm run build build |
Builds code bundle with production settings |
npm run serve |
Run a web server to serve built code bundle |
After cloning the repo, run npm run install
from your project directory. Then, you can start the local development
server by running npm run dev
and navigate to the localhost URL.
After running npm run build
, the files you need for production will be on the dist
folder. To test code on your dist
folder, run npm run serve
and navigate to http://localhost:5000