React JS Installation
For react we need two things installed
Command to check the version
Browse Below URL
For react we need two things installed
- Node JS-Go to the official website for node and download the latest one<a href="https://nodejs.org/en/">https://nodejs.org/en/</a>
- Text Editor-As per yout choice ie Visual Studio Code<a href="https://code.visualstudio.com/">https://code.visualstudio.com</a>
- npm install create-react-app -g
Command to check the version
- create-react-app -version
- npx create-react-app myApp-app
- cd myApp-app
- npm start
Browse Below URL
- http://localhost:3000/
Installation of some more libraries which will be useful when we start real time websites development.
REACT-ICONS
Include popular icons in your React projects easly with react-icons, which utilizes ES6 imports that allows you to include only the icons that your project is using.
This will be used to render some designed icons from centralized place.But to use them, we need to install this library.
REACT-ROUTER-DOM
This library mainly provides the routing strategies which are very useful in our web development.
Install this library using below command for your project
- npm install react-router-dom
No comments:
Post a Comment