- Move into the directory
cd front-end
- Install dependencies
npm i
- Run the server
npm run dev
How to setup taildinw in your project Link
- Create the
tailwind.config.js
file
npx tailwindcss init -p
- Add the files and extensions to tailwind config in the content property
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
- Add the tailwind directives on the top of index.css file
@tailwind base;
@tailwind components;
@tailwind utilities;
- Then run the server, tailwind should be integrated....
npm install react-router-dom react-icons @tailwindcss/line-clamp