npm create vite@latest
-
Enter your project name like: react-Vite
-
Package name same as project name
-
Select a framework by pressing down arrow key
-
Select a Language variant
-
Go into your project folder
cd react-Vite
- Run these commands in terminal
npm i
OR
npm install
- Run these commands in terminal
npm install -D tailwindcss@3 postcss autoprefixer
npx tailwindcss init -p
- Add these code stuff in content
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
- Add these tailwind imports in your all Css files
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind base;
@tailwind components;
@tailwind utilities;
npm run dev
IF you are wondering how react projects works with vite and tailwindcss and you wanna learn react So you have to watch this precious 1 in million React course video
Install Redux JS toolkit (RTK)
npm i @reduxjs/toolkit
Install Redux
npm i react-redux
Install Router Dom
npm i react-router-dom
Install html parser
npm i html-react-parser
Install Appwrite
npm i appwrite
Install tinymce
npm i @tinymce/tinymce-react
Install react hook
npm i react-hook-form