Disable automatic source detection when use @tailwind utilities
#19367
Replies: 1 comment
-
|
Hey! From what I understand about Tailwind v4, So something like: might be closer to the intended pattern, especially if you're already disabling Preflight (by not importing it). I haven’t seen official guidance that says "this is the one correct way," but the general idea seems to be:
If Tailwind publishes a clearer recommendation, it might confirm whether this approach is the best fit - but it looks consistent with how v4 handles sources so far. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Although the documentation addresses what happens if I don't use
@import "tailwindcss";:@importcannot be used embedded - to achieve a behavior similar to the v3 important strategy - which is why I use@tailwind utilities;. The documentation doesn't cover this, but is this the correct usage in this case?Beta Was this translation helpful? Give feedback.
All reactions