originjs / vite-plugin-federation

Module Federation for vite & rollup
Other
2.34k stars 239 forks source link

UI Library in remote is not rendering correctly in Host. CSS from ui library issue #605

Open cheesypeperoni opened 4 months ago

cheesypeperoni commented 4 months ago

Versions

Reproduction

Steps to reproduce

Uses Nuxt with SSR: false for remote and host application. Remote uses ant-design-vue , renders completely fine when im running locally. However when i run on host it removes the CSS.

What is Expected?

Below image is rendering the ant button correctly

Screenshot 2024-06-21 at 3 28 32 PM

What is actually happening?

Below image is rendering the ant button incorrectly. removing the css in host but the text is stil there

Screenshot 2024-06-21 at 3 29 04 PM
Btwn commented 2 weeks ago

Same behavior when I use PrimeVue

Espected image

Actual image

PrimeVue button does not render CSS