Skip to content

About

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

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

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

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages