npm create vite@latest
cd React_paste-app
npm install
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
Add the paths to all of your template files in your (tailwind.config.js) file.
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}
Add the @tailwind directives for each of Tailwind’s layers to your ./src/index.css file.
@tailwind base;
@tailwind components;
@tailwind utilities;
npm install react-router-dom
4-> Installing Redux Toolkit because we will also use this to create feature like copy, paste ,delete etc
npm install @reduxjs/toolkit
npm install react-redux
npm run dev