Last active
June 5, 2016 05:51
-
-
Save bsed/8229111d4ac92284b548ed7ccf1506b8 to your computer and use it in GitHub Desktop.
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
npm install babel-plugin-transform-class-properties babel-plugin-transform-runtime \ | |
babel-polyfill babel-preset-es2015 babel-preset-react babel-preset-stage-0 \ | |
babel-register --save |
npm install webpack babel-loader react react-dom --save
npm install express --save
npm install concurrently --save-dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
babel-plugin-transform-class-properties is for using static variables inside ES6 classes (it’s not a very common practice, but I find this syntax a little bit more natural for people to understand, I’ll explain this later)