mkdir my-web-app && cd my-web-app
npm init -y
2. Install dependencies:
Since the file above is a React component using Tailwind, I recommend using Vite for the fastest setup:
npm create vite@latest . -- --template react
npm install
npm install -D tailwindcss postcss autoprefixer lucide-react
npx tailwindcss init -p
3. **Configure Tailwind:**
Ensure your `tailwind.config.js` includes the paths to your component files.
Run and deplo
mkdir my-web-app && cd my-web-app
npm init -y
2. Install dependencies:
Since the file above is a React component using Tailwind, I recommend using Vite for the fastest setup: