Replies: 12 comments 12 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.
-
| 
         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.
-
| 
         Keep in mind that you can't use both  If you have both installed, remove   | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         i tried multiply approaches and even tho the watcher runs without errors it doesn't seem like tailwind classes are working. nuxt.config.ts app.css template.vue -> does absolutely nothing. I do not have a tailwind.config but i assumed it would use a default one, plus i tried adding one but also without any difference.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Related:  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         I was blocking with the same error. After few research, it appears that my  I've done this and it now works like a charms: I hope it can help !  | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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