You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, im using react with turborepo. My app consist of several packages, that use tailwind and being imported by my main app that use another ui library. So I want to encapuslate global tailwind styles, is there any way doing this not using shadowdom? I've already found the solution using PrefixWrap plugin for postCSS, but it seems to stop working correctly after I update tailwind to v4
thanks for answer, idk why but built-in prefix option does not work, or may be I dont know how to check it, but still using it doesnt make any changes, I've found a solution to add prefixes in postcss config, previously I added it only when app was building in my rslib config
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, im using react with turborepo. My app consist of several packages, that use tailwind and being imported by my main app that use another ui library. So I want to encapuslate global tailwind styles, is there any way doing this not using shadowdom? I've already found the solution using PrefixWrap plugin for postCSS, but it seems to stop working correctly after I update tailwind to v4
Beta Was this translation helpful? Give feedback.
All reactions