Once more we gather together around the fascinating topic of making Vite projects work with single-spa. Today's topic is most likely a very awaited one: How does one inject a micro-frontend's CSS into the page that loads it? By the way, note that thi...

Markdown supported · ⌘↵ to post
Björn
Hi José. Thanks for an excellent series. This has actually helped me understand single-spa much better. I've been following along, but instead of setting up a React mife, I set up a Vue mife as this is the scenario that I need it for. After following this article, and having implemented, first the implementation above and also after changing to the new cssLifecycleFactory, I've found that running in
devmy application inherits the CSS from the root app, however, when navigating to/mifea, the mife's CSS takes precedence. When runningbuildand thenpreview, it sticks to the root app's CSS. You don't perhaps have an example of a Vue mife implementation?