-
In our tailwind.config.js in v3 we had a section like this: ...
variants: {
margin: ["responsive", "first"],
opacity: ["responsive", "hover", "focus", "disabled"],
},
... In the new v4 docs I can't find any mention of the How can this be migrated to a config-file-less v4? |
Beta Was this translation helpful? Give feedback.
Answered by
wongjn
Mar 21, 2025
Replies: 1 comment 1 reply
-
This doesn't do any thing in v3 - this was v2 (non-JIT) configuration. In v3+, all variants are registered for all utilities which makes this configuration obsolete. Thus you don't need to migrate this in any way. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Ramblurr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This doesn't do any thing in v3 - this was v2 (non-JIT) configuration. In v3+, all variants are registered for all utilities which makes this configuration obsolete. Thus you don't need to migrate this in any way.