Create and configure basic ( blank ) React app

Clock
19.07.2024
Clock
16.12.2024
Clock
1 minute
An eye
41
Hearts
0
Connected dots
0
Connected dots
0
Connected dots
0

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

Comments

(0)

captcha
Send
It's empty now. Be the first (o゚v゚)γƒŽ

Other

Related questions


Similar articles


Interactive web development tutorial on website | Series SearchResultParser p. 3

Clock
29.08.2024
In this article you will understand how to add a web tutorial on a website for guests using React components. With the ability to define to which elements hints will …

Developing frontend part of a website with React on Django | SearchResultParser p. 2

Clock
16.08.2024
I show and tell how to develop a frontend for a site on React with a backend on django. I use MaterialUI and TailwindCSS, with source code and comments.