Replies: 1 comment 1 reply
-
Hello, I have some solution maybe it helps you. Tailwind v4 Plugin Changes Tailwind v4 introduces significant changes to how plugins work. js const plugin = require('tailwindcss/plugin'); module.exports = { This follows the new Tailwind v4 syntax. matchVariant is removed in v4. Instead, addVariant should be used with a function. Replaced the old matchVariant syntax with :is(.parent[data-${value}] > &). Best Regards |
Beta Was this translation helpful? Give feedback.
-
Hello I'm trying to migrate to v4, but it is impossible to convert this to v4 (I have tried). Can someone confirm it ?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions