Need help to set-up the tailwind css #18630
AbdulQuadir781
started this conversation in
General
Replies: 2 comments 3 replies
-
What is your output when you run:
If it's v4, you'd want to follow the CLI installation guide instead of the tutorials which may be out of date. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there 👋
I really need some help setting up Tailwind CSS in VS Code. I'm completely new to coding and have spent the whole day watching YouTube tutorials and searching on Google, but I still can't get it working 😓
I followed all the basic steps like:
npm init -y
npm install -D tailwindcss
tailwind.config.js
with the right content pathsrc/input.css
with @tailwind directivesnpx tailwindcss -i ./src/input.css -o ./dist/output.css --watch
output.css
inindex.html
But Tailwind classes like
bg-blue-500
,text-xl
, etc., are not applying at all. I'm not sure what I'm doing wrong.I've also added some screenshots for reference (please check). Could someone please guide me step-by-step or let me know what I might have missed?
Thanks so much in advance! 😊
Beta Was this translation helpful? Give feedback.
All reactions