- npm init
- npm install react react-dom --save
- npm install babel-loader babel-core babel-preset-es2015 babel-preset-react
- touch index.html App.js main.js webpack.config.js
- assuming babel webpack webpack-dev-server is already installed globally
- here is the command if its not installed:
npm install babel webpack webpack-dev-server -g
- setup webpack.config.js