0.0.3 • Published 2 years ago
create-phaser v0.0.3
create-phaser
Scaffolding Your First Vite Phaser Project
Compatibility Note : Vite Phaser requires Node.js version lts or latest. Please upgrade if your package manager warns about it.
With NPM:
$ npm create phaserWith Yarn:
$ yarn create phaserWith PNPM:
$ pnpm create phaserThen follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Phaser demo project, run:
# npm 7+, extra double-dash is needed:
$ npm create phaser my-phaser-game -- --template demo
# yarn
$ yarn create phaser my-phaser-game --template demo
# pnpm
$ yarn create phaser my-phaser-game --template demoCurrently supported template presets include:
defaultdemoextensionelectrontauri