So, its a production Tailwind Folder, if you want production, you need to install PostCSS, otherwise you can use CDN for learning and basic use only. For production, CDN is not applicable.
For Creating Server
-
npm init -y
-
npm install -D tailwindcss postcss autoprefixer vite
-
npx tailwindcss init -p
-
for run, change test name according to you (For vite)
-
change following file tailwind.config.js to this content: ["*"],
-
craate new css file and paste this @tailwind base; @tailwind components; @tailwind utilities;
-
npm run call
-
End