In this blog we will learn how to run react project, we can run our react project by cmd prompt, shell, or by visual studio.
By Command Prompt:
Step1: Open command prompt
Step2: Go to your directory where your react project
Step3: write the following command:
npm start
or
npx start
or
yarn start
By Visual Studio
Step1: Open project in visual studio
Step2: Open terminal in visual studio
Step3: write the following command in the terminal:
npm start
or
npx start
or
yarn start
Note: yarn start is used if you have installed yarn.