Part 1 React introduction | React tutorial | Create react project | React setup

Veröffentlicht am: 06 März 2023
auf dem Kanal: Trinits Technologies
515
10

React official websites:-
https://reactjs.org/
https://beta.reactjs.org/

1. Install node js.
Node is required to run the angular/react/vue.js. Download the latest node.js from the below link.
https://nodejs.org/en/download/

https://nodejs.org/dist/v18.12.1/node...

2. Check the node version. Using the below commands we can check the node and npm versions.
node -v
npm -v

3. Create a new project.
npx create-react-app projectName
npx create-react-app payroll
npx create-react-app my-app --template typescript

Start the project using the below command.
Note:- Make sure that you are running the below command from the project folder.
npm start

All commands together:-
npx create-react-app my-app
cd my-app
npm start

Then open http://localhost:3000/ to see your app.

Here: localhost is our machine address
3000 = port number.

Creating a TypeScript app
You can start a new TypeScript app using templates. To use our provided TypeScript template, append --template typescript to the creation command.
npx create-react-app my-app --template typescript


Auf dieser Seite können Sie das Online-Video Part 1 React introduction | React tutorial | Create react project | React setup mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Trinits Technologies 06 März 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 515 Mal angesehen und es wurde von 10 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!