• Stars
    star
    176
  • Rank 216,987 (Top 5 %)
  • Language
    CoffeeScript
  • License
    MIT License
  • Created almost 11 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

React (reactjs), Gulp, Webpack, Bootstrap, LiveReload, all tied up in a bow.

React JS Template App

This is a starter template for building your first React application. Based on a Gulp and Webpack build system. If you look at the gulpfile, it implements some nifty features:

  • Uses gulpfile.js to trampoline to gulpfile.coffee, for you coffee drinkers out there.
  • gulp dev implements an http server and a live reload server.
  • gulp --production shows how to use command line flags to switch to building minified versions.
  • Uses the awesome Webpack project to combine all the javascript files into one.

Up and Running

First, clone the repo...

git clone [email protected]:johnthethird/react-starter-template.git

Then install the npm and bower modules

$ npm install
$ bin/bower install

start server

$ bin/gulp dev

then go to http://localhost:4000/index.html

If you have the Chrome LiveReload extension installed, then your browser will automatically reload when any file in /src changes.