This repo contains a typescript phaser project template using vite.
Clone this repository and install its dependencies:
git clone https://github.com/supertorpe/vite-ts-phaser-starter.git
cd vite-ts-phaser-starter
npm install
npm run dev
launches a server with hot reloading. Navigate to localhost:3000.
npm run build
builds the application to dist
, generating two bundles for differential serving.
npm run serve
launches a server over the previous build.
MIT.