Last active
November 28, 2017 18:17
-
-
Save mamun67/6b91fad80d09cc64505d935d4a3c9df7 to your computer and use it in GitHub Desktop.
Setup for React Development
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
To setup React dev environment | |
->Install Nodejs | |
->npm install -g live-server //To run files locally for testing | |
->live-server public --port=8089 //to change port to 8089 | |
->npm install -g [email protected] | |
->npm init //creates package.json file | |
->yarn add [email protected] [email protected] | |
->babel src/app.js --out-file=publis/scripts/app.js --presets=env,react --watch //convert to es* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment