Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 500 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 500 Bytes

setting up development environment for react and es6

step one

  • npm init

step two

  • npm install react react-dom --save

step three

  • npm install babel-loader babel-core babel-preset-es2015 babel-preset-react

step four

  • 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

step five

  • setup webpack.config.js