Introduction
Every enthusiastic developer and progressive learner has the initial setup to start the learning. For those devs, this is going to help to start creating the react application in the vs code. Will see the step-by-step approach and install the necessary modules. Let's follow the same steps and create the React app.
Prerequisites
Let's open the VS code. Choose the terminal in the top bar. pls refer to the below screenshot.
After loading the terminal type the below command. And click enter, it will start installing the necessary packages into the application
npx create-react-app myfirst-app
This will take a bit of a moment to download the node modules, once it is completed, then use this command to navigate the actual project location.
cd myfirst-app
Or close the vs code and open the precise project location folder from the VSCode.
Use this command to start the application.
npm start
Congrats you have created the react app successfully. Awesome, let's keep checking it out for further articles about the React Js.