Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 890 Bytes

File metadata and controls

50 lines (35 loc) · 890 Bytes

Phaser/TypeScript/Webpack/Capacitor Starter

A starter template for using Phaser 3 with TypeScript, Webpack, and Capacitor for native iOS and Android builds based on Joshua's Morony work. We have implemented hot module replacement +info. Using this repository will require a working knowledge of Capacitor, you can find documentation here and additional learning resources here.

Install

npm install
npx cap init

Develop

npm run dev

Build

npm run build

Add Native Platforms

npx cap add ios
npx cap add android

Run

npm run build
npx cap open ios
npx cap open android