Skip to content

Setup react with babel to work with es6 and run application in Webpack dev server with hmr (hot module replacement)

License

Notifications You must be signed in to change notification settings

kevalbhatt/react-webpack-hmr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Webpack HMR Boilerplate

Usage

git clone https://github.com/kevalbhatt/react-webpack-hmr.git
cd react-webpack-hmr/
npm install
npm start
open http://localhost:8080

OR

Install slush-react-webpack-hmr globally:

$ npm install -g slush-react-webpack-hmr

Create a new folder for your project:

$ mkdir my-slush-react-webpack-hmr

Run the generator from within the new folder:

$ cd my-slush-react-webpack-hmr && slush react-webpack-hmr

Note: slush react-webpack-hm will start npm server it self.

Now edit app/index.jsx.
Your changes will appear without reloading the browser.

About

Setup react with babel to work with es6 and run application in Webpack dev server with hmr (hot module replacement)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published