2.2 how to install react on your compute ?
we will succeed in putting our project my apps
then we’ll create-react-app
then you enter it’s good it was created then
to install it we will do npx create-react-app space
My-app and you enter it will install
It may last a little while so be patient
with MKDIR a new directory has been created
and in this directory we put react project and then we create
the react app is what will allow me to have all the
files then when all this and install, you then do
cd My-app of course it’s a dash
Matthieu react project my app
so we got into what file he’s in
then you do npm start
and thanks to this will open a page that will be localhost3000 and here you have
React to install
then to stop the Localhost you can check c to stop
the execution of the application
react in the command line of course you have installed react and create a new
dossier
Of course we’ll check together
we’re gonna go look here so we’re gonna go here user
Matthew and normally you will have
and here you have myapp at 10:01 that was created here
so what we’re gonna do is we’re gonna take him
and we’ll move it to the desk then we’ll open
vs code and then we’ll take the file
and sent it here to our code editor and here you have all this installed
with as you see myapp
this is the application to install you have
all the folders on your vs code plus the local localhost pardon part which is
safe of your browser thank you for watching this install react you have
questions do not hesitate and I wish you a very good day.