Tailwind v4: 'tailwindcss directly as a PostCSS plugin' error, fixed
[postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. Every cause of this Tailwind v4 error, plus the silent one that hits next.
[postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. Every cause of this Tailwind v4 error, plus the silent one that hits next.
Your Tailwind v4 upgrade throws 'trying to use tailwindcss directly as a PostCSS plugin'? Here's every cause, the sneaky CI-only variant, and the real fix.
The class is sitting right there in your JSX and the browser still ignores it. Here's why Tailwind's scanner can't see it, and how to fix it for good.
Your Tailwind v4 build dies with 'It looks like you're trying to use tailwindcss directly as a PostCSS plugin': here's every real cause and the actual fix.
[postcss] It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. Every cause of this Tailwind v4 error, plus the silent one that hits next.