Forum

How to install reac...
 
Notifications
Clear all

How to install react js from scratch?

3 Posts
6 Users
0 Reactions
815 Views
0
Topic starter

Also how to install react js from scratch 

Girish 15/05/2023 7:39 pm

@aliceshah

Install Node.js: React JS requires Node.js to run. You can download and install Node.js from the official website: https://nodejs.org/en/.

Open the Command prompt using win+r, and type cmd. You can navigate to your desired folder and run this command.

create-react-app my-react-app
This will create a new React project in a directory called "my-react-app".

Once the project is created, you can start the development server by running the following command:

cd my-react-app
npm start

This will start the development server and open the project in your default web browser. You can now start building your React app.

You can select any name for your app

2 Answers
0

good nice

0

thanks

Share:
Enable Notifications OK No thanks