An open API service indexing awesome lists of open source software.

https://github.com/hasibcoderlab/react-project-02


https://github.com/hasibcoderlab/react-project-02

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# React-Project-02

---
# Project Setup

## 1️⃣ Create the project
```bash
npm create vite@latest React-Project-02
```
## 2️⃣ Move into the project folder
```bash
cd React-Project-02
```
## 3️⃣ Install dependencies
```bash
npm install
```
## 4️⃣ Install Tailwind CSS and Vite plugin
```bash
npm install tailwindcss @tailwindcss/vite
```
## ⚙️ Configure Vite
Edit your vite.config.js file:
```js
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'

export default defineConfig({
plugins: [tailwindcss(), react()],
})
```
## 🎨 Configure Tailwind
In your index.css, import Tailwind:
```css
@import "tailwindcss";
```
---

# 🌐 React Router Setup

## 1️⃣ Install React Router DOM
```bash
npm install react-router-dom
```
---

## 🖥️ Run the Project
Start the development server:
```bash
npm run dev
```

---
# 💡 Technologies Used

⚛️ **React**
⚡ **Vite**
🎨 **Tailwind CSS**
🧭 **React Router DOM (v7.9.4)**
🧩 **useState**
🧩 **Function**
🧩 **Condition**