Skip to content

radarminnet/react-gulp-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-gulp-demo

Template for React JS project using Gulp

Setup

First of all, you need to install node and npm and gulp. If you run into trouble during installation of gulp, make sure you are the owner of the node_modules folder (http://stackoverflow.com/questions/16151018/npm-throws-error-without-sudo). When you are done, simply:

$ npm install

Build

Gulp takes care of assembling the JS into a single bundle.js that we will load in the browser. Just type:

$ gulp

or

$ gulp dev

...to make gulp scan the src/ folder for changes to .html and .js files and build the bundle automatically.

Run the server

To start the server, type

$ node server.js

And access it at http://localhost:3000/

About

Template for React JS project using Gulp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published