A game to play with Phaser 3
Command | Description |
---|---|
npm install |
Install project dependencies |
npm run dev |
Builds project and open web server, watching for changes |
npm run 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 install
from your project directory. Then, you can start the local development
server by running npm run dev
and following the on-screen instructions.
After running npm run build
, the files you need for production will be in the
dist/
folder. To test the code in the dist/
folder, run npm run serve
and follow the on-screen instructions.