A template for phaser 3 games written in typescript. Uses webpack to bundle files.
Command | Description |
---|---|
npm install |
install project dependencies |
npm start |
build project, open web server and watch for file changes |
npm build |
build code bundle with production settings |
After cloning this repo, run npm install
in the project's root to install the project dependencies. Then run npm start
to build the project. This will open the project on a local server (default is 8090). After that any changes to the ./src
file will reload the project.
npm build
will build your code into a bundle located at dist
.