Create and configure basic ( blank ) React app

Creating a React app

We have to make a new folder because of npx. This little script is going to pollute that directory where you are currently in.

mkdir ProjectRoot
сd ProjectRoot
If you are going to use npm for the first time, do not forget to install the create-react-app package. We need this one.

npm install  create-react-app
Let’s create our React app.

npx create-react-app Project

Checking if anything working correct

Go to project directory, Project.

cd Project
Execute next command:

npm start
You shall see something like this.
successfully lanched react app

heart
0
3 connected dots
0

Related questions