pt-br / phaser3-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Available Commands

Command Description
yarn Install project dependencies
yarn start Build project and open web server running project
yarn build Builds code bundle with production settings (minification, uglification, etc..)

Writing Code

After cloning the repo, run yarn from your project directory. Then, you can start the local development server by running yarn start.

After starting the development server with yarn start, you can edit any files in the src folder and webpack will automatically recompile and reload your server (available at http://localhost:8080 by default).

Deploying Code

After you run the yarn build command, your code will be built into a single bundle located at dist/bundle.min.js along with any other assets you project depended.

If you put the contents of the dist folder in a publicly-accessible location (say something like http://mycoolserver.com), you should be able to open http://mycoolserver.com/index.html and play your game.

About

License:MIT License


Languages

Language:JavaScript 98.9%Language:HTML 1.1%