Tailwind merge or loading the tailwind classes in module federation using vite and react #15316
Unanswered
lauraDiazHahnSoftware
asked this question in
Help
Replies: 1 comment
-
|
I've been facing the same problem here. If you get any solution, please share it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm having an issue with tailwind and module federation that stops me to proper configure tailwind in the shell or host app. What is happening is that I have my shell app with tailwind theme and styles and when I register and load my remotes using module federetaion runtime for dynamic loading I don't get full styles because the shell don't have compiled all the classes from tailwind and didn't compile this new added so style are partially broken, a side solution maybe to add to the file that contains the remote component I'm sharing the tailwindcss import, this fix the styles for the remote in the shell but it's messing up the shell app styles.
Does someone have a solution for this?
Beta Was this translation helpful? Give feedback.
All reactions