[v4] stuck at "[postcss] 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."
#15764
Replies: 3 comments 2 replies
-
Please consider providing a project that reproduces the unexpected behavior so we can help debug for you. |
Beta Was this translation helpful? Give feedback.
-
Hey, I also faced the same issue. Try completely deleting the postcss.config file and try again. Hope it helps. |
Beta Was this translation helpful? Give feedback.
-
I ran into the same issue when upgrading to Tailwind CSS v4. The problem appears if you're still trying to use How I fixed it:
“tailwind-merge”: “^3.0.1”,
[postcss] It looks like you're trying to use tailwindcss directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package... // postcss.config.js
module.exports = {
plugins: [
require('@tailwindcss/postcss'),
// other plugins...
],
}```
|
Beta Was this translation helpful? Give feedback.
-
I have done exactly these steps and same result
Beta Was this translation helpful? Give feedback.
All reactions