originjs/vite-plugin-federation

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

cheesypeperoni opened this issue · 1 comments

Versions

  • vite-plugin-federation: "^1.3.5"

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