Skip to content

kevokevoh/react_base_static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react_base_static

Compiles all the scripts & styles from src path to dist.Generates source maps by default in development mode. for react app wepack compile and hot reload happens on page.For other static documents gulp watches and notify webpack of changes then browser sync updated the webpage automatically.

##Installation

    $ npm install 

##Usage

To build on development mode, generates a minified version with source map.

    $ npm run build

To build on production mode

    $ NODE_ENV=production npm run build

To use webpack dev server & watch in one tab,

    $ npm start

and in another tab start gulp

    $ gulp

Additional Info:

To see react-hot-loader in action, edit app/src/js/reactapp/HelloWorld.jsx

Cheers

About

This is a react base that contains gulp,sass and webpack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published