This is a modern JS skeleton with React for Brunch.
Note: This project was modified to include React router and PostCSS.
Clone this repo manually or use git clone https://github.com/gotwski/with-react.git
-
Install (if you don't have them):
-
Inside your project folder:
- Brunch plugins and app dependencies:
npm install
- Brunch plugins and app dependencies:
-
Run:
brunch watch --server
— watches the project with continuous rebuild. This will also launch HTTP server with pushState.brunch build --production
— 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