A boilerplate for React with Brunch
This is HTML5 application, built with Brunch and React.
- Install (if you don't have them):
- Install:
- Clone this repo
- Run
npm install
in the root directory to install all Brunch packages - Run
bower install
in the root directory to install all project dependencies
- Workflow:
brunch watch --server
— watches the project with continuous rebuild. This will also launch HTTP server with pushState.brunch watch -s -p xxxx
watches the project and launches the HTTP server on port XXXX.brunch build --production
— builds minified project for productionpublic/
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, React site