Getting started - REACT js
react js are a set of .js libraries which could be included as a part of your code.
reference video: https://www.youtube.com/watch?v=A71aqufiNtQ
to get started:
reference video: https://www.youtube.com/watch?v=A71aqufiNtQ
to get started:
- download and install node js.
- Once done, the installation needs to be used to install npm. Open the "Node js command prompt" and install npm by follwoing the commands below, as in the link: https://facebook.github.io/react/docs/installation.html
- npm install -g create-react-app (Enter)
- create-react-app my-app (Enter)
- my-app, is the name of your new react project. You could give anything you wish.
- Now navigate to your new react project folder using the command below:
- cd my-app(Enter)
- start npm(Enter)
- The app will start and open the configured webpage , with url, http://localhost:3000/
- download and install atom editor. Open your new React folder in Atom.
- Have a look into the package.json file. It constitutes of all the project version and configurations
Comments
Post a Comment