Vite + Phaser + Typescript starter template.
npx degit iwantantra/vite-phaser-ts my-game
cd my-game
npm install
npm run dev
npm run build
npm run preview
npm run lint
npm run lint-fix
.
├── dist
├── node_modules
├── public
│ ├── assets
├── src
│ ├── scenes
│ ├── HelloScene.ts
│ ├── main.ts
├── index.html
├── package.json
dist
your build will placed in this folder.
src
you can structure your codes and folder as you like inside this folder.
public
your static asset must be placed inside this folder. You can also
create new folder inside this folder.