This quick-start project template combines Phaser 3.50 with TypeScript 4 and Electron 19.0.4 and uses webpack for bundling.
Node.js is required to install dependencies and run scripts via npm
.
Command | Description |
---|---|
npm install |
Install project dependencies |
npm run watch |
Build project, watching for changes |
npm run start |
Start electron |
just run npm run watch
first, and when you have changed your code, close electron and run npm run start
again.