Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.01 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.01 KB

Brunch + React + Babel/ES6

This is a modern JS skeleton with React for Brunch.

Installation

Clone this repo manually or use brunch new dir -s brunch/with-react

Getting started

  • Install (if you don't have them):
    • Node.js: brew install node on OS X
    • Brunch: npm install -g brunch
    • Brunch plugins and app dependencies: npm install
  • 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 in app/ dir.
    • Place static files you want to be copied from app/assets/ to public/.
    • Brunch site, Getting started guide