CssImport when using Component Exporter

Hi All, its been a while :slight_smile:

I’m trying the microfrontend pattern and have it working fine. I am able to style the main app container with the @CssImport annotation.
I also annotate the exported microfontends (WebComponentExporter) however the styles are not being seen. I’ve tried putting the annotation on the View and on the WebComponentExporter, but both methods aren’t working. What am I missing??

I am using a custom webpack.js which filters out the shared flow dependencies. I do the same for the main app and have one of the microfrontends as just the Vaadin UI Bundle. I’m able to style the main app, so I don’t think its related to that.

Any pointers would be greatly appreciated.

Stuart

Please try follow this comment https://stackoverflow.com/a/70695249/16650110, hope it helps.