Canvas Boilerplate is the go-to solution for quickly creating modern canvas pieces using ES6 and webpack.
- Clone the repo:
https://github.com/mrtboy/Canvas-Collision.git 2. Install dependencies:
yarn
or
npm install
-
Run webpack:
npm start
Your canvas piece should open up automatically at http://localhost:3000 and you should see 'HTML CANVAS BOILERPLATE' on hover.