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