Create a React App in the VSCode

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.

VS code

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

Packages

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.

Node modules

cd myfirst-app

Or close the vs code and open the precise project location folder from the VSCode.

Project location folder

Use this command to start the application.

npm start

Run

Congrats you have created the react app successfully. Awesome, let's keep checking it out for further articles about the React Js.

React Js