enti
Installing tailwindcss on Nuxt4
tailwindcss() doesn't work with Nuxt4 compatibility. For now I used this version : https://discordapp.com/channels/473401852243869706/1364538503693598771/1364542406015586348
31 replies
Installing tailwindcss on Nuxt4
the error is :
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
(error happening with any postcss install scenario)31 replies
Installing tailwindcss on Nuxt4
@kapa.ai I updated nuxt.config.js accordingly. Have fun:
pnpm add -D @tailwindcss/postcssdevDependencies: + @tailwindcss/postcss 4.1.4 Done in 2.7s using pnpm v10.8.1
pnpm run dev[nuxi 12:02:32] 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.
31 replies
Installing tailwindcss on Nuxt4
[nuxi 11:58:43] 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.
31 replies
Installing tailwindcss on Nuxt4
@kapa.ai just did what you asked here, but Nuxt in Nuxt4 compatibility mode still requests postcss when running:
[nuxi 11:54:39] 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.
31 replies