Clone this repo manually or use brunch new dir -s
- Install (if you don't have them):
- Run:
npm start
— watches the project with continuous rebuild. This will also launch HTTP server with pushState.npm run build
— builds minified project for production
- Learn:
public/
dir is fully auto-generated and served by HTTP server. Write your code inapp/
dir.- Place static files you want to be copied from
app/assets/
topublic/
. - Brunch site, Getting started guide
To use proposed JS features not included into ES6, do this:
npm install --save-dev babel-preset-stage-0
- in
brunch-config.js
, add the preset:presets: ['latest', 'stage-0']