You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lets say I wanted to reuse the 'Menu' microfrontend inside another web app, how would I be able to do that with the module federation architecture?
Side note: I know if I use @angular/elements, in a normal Ng app, I can create a custom web component that I can then insert into another web app like so:
The text was updated successfully, but these errors were encountered:
With module federation, after you build your application, you'll get something like a remoteEntry.js file. This remote entry file is similar to your menu-mfe.js that you would have had in the web component approach. You would typically configure your host to load this file at runtime rather than placing it in your HTML like you've shown here.
Lets say I wanted to reuse the 'Menu' microfrontend inside another web app, how would I be able to do that with the module federation architecture?
Side note: I know if I use @angular/elements, in a normal Ng app, I can create a custom web component that I can then insert into another web app like so:
The text was updated successfully, but these errors were encountered: