Replies: 1 comment 1 reply
-
|
This is a common issue when migrating from Tailwind v3 to v4 — the architecture changed significantly. Here's how to fix it with Vike: 1. Install the v4 Vite pluginTailwind v4 has a dedicated Vite plugin (recommended for all Vite-based projects like Vike): npm install tailwindcss @tailwindcss/viteRemove old v3 PostCSS packages if you have them: 2. Update
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m using Vike and Tailwind CSS v4 to build an SSG site. I’m having an issue with Tailwind, the responsive breakpoints aren’t working, and I can’t figure out why.
Do you have any idea what might be causing this?
PS: With Tailwind CSS v3, everything worked fine.
Beta Was this translation helpful? Give feedback.
All reactions