Replies: 1 comment 3 replies
-
Any thoughts on this @ben-rogerson? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Curious to get thoughts on making the enforcement of the TW prefix optional. I'd be willing to open a PR for this, with updated tests, docs, etc...
I use TW in Laravel blades and the prefix is necessary to prevent collisions at the blade level. I also use
twin.macro
with a React app that renders within the blades, and collisions aren't a problem. Although the latest versions oftwin.macro
throws an error when a prefix is defined in the TW config but not used with twin, the actual class is still resolved. I'd prefer not needing to update an entire component library with prefixes as enforcement could be a twin config option.Beta Was this translation helpful? Give feedback.
All reactions