Awesome
Vite Phaser Typescript Template
Vite + Phaser + Typescript starter template.
Preview
Getting Started
npx degit iwantantra/vite-phaser-ts my-game
cd my-game
npm install
Available scripts
To run the project
npm run dev
To build the project
npm run build
To preview the build
npm run preview
To lint check your code using eslint
npm run lint
To lint check and fix your code
npm run lint-fix
Project structure
.
├── 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.