Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 966 Bytes

README.md

File metadata and controls

53 lines (35 loc) · 966 Bytes

Phaser 3 Typescript Template

A Phaser 3 framework template for Typescript compiled with Parcel v2.

Setup

Prerequisites

Install Node.js and Yarn.

Installing

git clone https://github.com/acquati/phaser-3-typescript-template.git
cd phaser-3-typescript-template
yarn install

# Development
yarn run dev

# Build
yarn run build

# Start server
yarn run start

# Lint
yarn run lint

Access localhost:8080 in your browser.

Troubleshoot

Update NPM & YARN global command on Ubuntu

sudo apt update
sudo apt upgrade
sudo apt autoremove

sudo npm install npm -g

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

sudo npm install --global yarn