This repo contains a phaser project template using vite.
Clone this repository and install its dependencies:
git clone https://github.com/supertorpe/vite-phaser-starter.git
cd vite-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 previously build.
MIT.