Created
August 11, 2017 09:59
-
-
Save kricore/5f90c8b2301b3016f61017b42b1b9e8b to your computer and use it in GitHub Desktop.
Install React & dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://stackoverflow.com/documentation/reactjs/7480/setting-up-react-environment/24700/configure-webpack#t=201708110804335488513 | |
# install react and react-dom | |
$ npm i react react-dom --save | |
# install webpack for bundling | |
$ npm i webpack -g | |
# install babel for module loading, bundling and transpiling | |
$ npm i babel-core babel-loader --save | |
# install babel presets for react and es6 | |
$ npm i babel-preset-react babel-preset-es2015 --save |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment