Micro frontend overrides styling of Shell application. #16061
rsuthar-dev
started this conversation in
General
Replies: 3 comments
-
Please fill out it, thank you |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is likely because you’re using global css and not locally scoped styles or css modules. Anything global can cause collisions and css cascades so last style loaded wins |
Beta Was this translation helpful? Give feedback.
0 replies
-
@rsuthar-dev were you able to fix your issue, if yes can you please explain how you fixed 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.
-
Bug report
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Other relevant information:
webpack version: 5
Node.js version: 14
Operating System: Windows
Additional tools:
Issue Detail:
I have one Micro frontend application based om Webpack Module federation.
When a micro-app is loaded in shell application , it overrides styling of shell application because of same classname.
is there any way we can isolate styling at container level and micro-apps level ?
Beta Was this translation helpful? Give feedback.
All reactions