Simple Maker.js project environment
This will give you a basic page for developing and viewing your Maker.js model. Thanks to Parcel you will get hot module reloading. This means that when you edit/save a file, the page will refresh automatically.
git clone https://github.com/danmarshall/makerjs-simple-page.git
cd makerjs-simple-page
npm install
npm start
This will start a Parcel development web server, and automatically open http://localhost:1234/
- Edit
smile.js
and save. The browser page will show your new drawing automatically. - Change parameters in
index.js
. - Add other modules in
package.json
andrequire
them, Parcel will handle all the module bundling for you!