Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[bug]: Tailwind CSS IntelliSense Doesn't work with npx shadcn@latest init #6740

Open
yanivavraham1 opened this issue Feb 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@yanivavraham1
Copy link

yanivavraham1 commented Feb 22, 2025

Hi everyone,

I've been struggling for days to get TailwindCSS v4 and shadcn/ui to work together properly in my project.

What I Tried:
Using npx shadcn@latest init

The installation seems to work, but TailwindCSS IntelliSense isn't functioning.
Tailwind v4 works fine in other Next.js projects I’ve tested.

Manual Installation (shadcn/ui Docs)

Followed the guide: https://ui.shadcn.com/docs/installation/manual
It requires editing tailwind.config.js, but Tailwind v4 doesn't use a config file anymore.

Additional Notes:
Tailwind itself works fine; it's just IntelliSense that's not functioning.
Here are my project files:
Settings.json
Tailwind logs
globals.css
package.json
I'd appreciate any help or suggestions!

Thanks,
Yaniv

@yanivavraham1 yanivavraham1 added the bug Something isn't working label Feb 22, 2025
@Emmanuel-Xs
Copy link

same, encountered this problem too, i initially thought it was from tailwind, but after many installation and creating new projects, i narrowed it down to shadcn ui

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants