Tailwind CSS with Module Federation #905
Replies: 3 comments 4 replies
-
I was able to achieve success here by using the twin.macro library. Essentially, it's leveraging tailwind with styled components, which currently plays nice with MF. |
Beta Was this translation helpful? Give feedback.
-
I had the same problem, so I decided to import the styles directly into the exposed Remote like this: |
Beta Was this translation helpful? Give feedback.
-
Hi folks, |
Beta Was this translation helpful? Give feedback.
-
I have two apps; remote app and consuming app with Next.js and Tailwind CSS.
I exposed a component in remote app styled using tailwind, but in my consuming app, the style is not affected.
Is there anyway to make it work?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions