Skip to content

Instantly share code, notes, and snippets.

@mamun67
Last active November 28, 2017 18:17
Show Gist options
  • Save mamun67/6b91fad80d09cc64505d935d4a3c9df7 to your computer and use it in GitHub Desktop.
Save mamun67/6b91fad80d09cc64505d935d4a3c9df7 to your computer and use it in GitHub Desktop.
Setup for React Development
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