Install yarn
- npm install -g yarn
Install live server for run react application
-
using npm npm install -g live-server
-
using yarn yarn global add live-server
npm init or yarn init
Babel is a compiler but not compile anything in default
Brief description here - http://babeljs.io/docs/usage/cli/
Install babel CLI
- npm install -g babel-cli or npm install -g [email protected] (Specific version)
Install babel environment and react (dependencies)
- npm install babel-preset-react babel-preset-env
- npm install [email protected] [email protected] (Specific version)
Babel run:
- babel src/app.js --out-file=public/scripts/app.js --presets=env,react
- babel src/app.js --out-file=public/scripts/app.js --watch (Detect change every time)
React Modal
- https://github.com/reactjs/react-
About Sass
- https://www.npmjs.com/package/style-loader
- https://www.npmjs.com/package/css-loader
- https://www.npmjs.com/package/node-sass-loader
- https://necolas.github.io/normalize.css/
- http://sass-lang.com/documentation/Sass/Script/Functions.html