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 start
Your canvas piece should open up automatically at http://localhost:3000 and you should see 'HTML CANVAS BOILERPLATE' on hover.