Learning React from Prasad Kadam sir
- Create a folder and open CMD inside it.
- Run the command:
npm create vite
and proceed.npm create vite@latest or npm create vite@versionNumber
- Enter a project name.
- Leave the package name as default.
- Select the framework (React).
- Select JavaScript.
- Run:
cd projectName
. - Run:
npm install
. - Run:
npm run dev
🚀.
-
Open a terminal and navigate to the folder where you want to clone the repository.
-
Clone the repository using the following command:
git clone https://github.com/Rahullkumr/LearningReact.git
-
Navigate to the project directory:
cd LearningReact
-
Navigate to particular project:
cd FirstInstallation <!-- or --> cd ReactByPrasadSir
-
Install the project dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:5173 in your browser to view the app.