Replies: 9 comments 5 replies
-
Hey! Looks like you are configuring Also make sure you follow all the steps described here: https://tailwindcss.com/docs/installation/framework-guides/nuxt |
Beta Was this translation helpful? Give feedback.
-
I am also having this issue right now.
|
Beta Was this translation helpful? Give feedback.
-
Getting a similar error now after running |
Beta Was this translation helpful? Give feedback.
-
Temporary fix was for me just resetting my package.json to Obviously this is temporary and not a direct fix but should allow you to continue working. |
Beta Was this translation helpful? Give feedback.
-
Same issue here
|
Beta Was this translation helpful? Give feedback.
-
If you guys are using nuxt, id recommend just to use the
Package, this one comes with everything preconfigured |
Beta Was this translation helpful? Give feedback.
-
In v4, follow the manual setup method instead of using @nuxtjs/tailwindcss, then in the style.css file import :
to import plugin directive, |
Beta Was this translation helpful? Give feedback.
-
to ensure that tailwind work... I think that if we are already using nuxt 3 we need to stick still with tailwind version 3 stuff and avoid manuall installations, so the things I do, to clear out the errors of tailwind and nuxt were:
hope it helps. I also reviewed and commented on similar errors I noticed when manually implementing Tailwind installation on the following git discussion |
Beta Was this translation helpful? Give feedback.
-
I had installed
Removing the |
Beta Was this translation helpful? Give feedback.
-
v4.0.1 -v4.0.3 (compatible with prev versions e.g. 3.)
NUXT 3.15.2
Node v20.12.2
@nuxtjs/tailwindcss: "^6.13.1",
I am not sure If issue refers to tailwind, I just downgraded to 3.4.17 and don't see message below anymore:
ERROR Cannot start nuxt: It looks like you're trying to use tailwindcss directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install @tailwindcss/postcss and update your PostCSS configuration.
Yes, I tried to install plugin and update postcss, it's just not the way it gotta work and indeed it doesn't. If anyone interested please take a better look than I did. :)
Beta Was this translation helpful? Give feedback.
All reactions