Skip to content

Notes and Code Snippets for the 15th March Session conducted at VIT, Pune

License

Notifications You must be signed in to change notification settings

Kartik-Katkar/ReactJS-Session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started with React.js (Using Vite)

📌 Prerequisites

Ensure you have the following installed before proceeding:

  • Node.js (LTS Version)Download Here
  • npm (Node Package Manager) – Comes with Node.js

Check Installed Versions

After installation, verify the versions using:

node -v
npm -v

Setting Up a React App (Using Vite)

Vite is a faster alternative to Create React App (CRA) for modern React projects.

Step 1: Create a New React App

Run the following command in your terminal:

npm create vite@latest my-react-app --template react

Replace my-react-app with your preferred project name.


Step 2: Navigate to Your Project

cd my-react-app
npm install
npm run dev

Open http://localhost:5173/ in your browser to see your React app in action!

✨ Contributing

Contributing is possible via GitHub. Alternatively, you can send in content, content-drafts or content-ideas via Mail: [email protected]

🔗 Let's Connect

LinkedIn Gmail