Wednesday, November 13, 2019

Create ReactJS Sample


React JS Creation using the NPM



Prerequisites for using the ReactJS
NPM installation
Yarn Installation
Step 1: Open the command prompt
Step 2: Go to the location that you want to create the project folder by npm tool.
Step 3: Type the following command in command prompt and enter
             npm init react-app projectname

Step 4: Once the project is created you can see the following folders

Step 5: Open the Visual Code or any IDE and type in the npm start
Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.

Reference URLS: https://github.com/facebook/create-react-app


No comments:

Post a Comment