Questions tagged [webpack-module-federation]
The webpack-module-federation tag has no usage guidance.
webpack-module-federation
590
questions
3
votes
0
answers
463
views
Vue v2, Nested routes while using a microfrontend architecture using Webpack 5 Module Federation
I was wondering what would be the best way to import routes from app_02 to app_01 which is the shell app. One way could be adding children routes but I was wondering if there would be another way to ...
5
votes
3
answers
5k
views
"inject() must be called from an injection context" when importing angular app using module federation architecture
I am trying to implement the micro-frontend concept in angular using webpack5 module federation by following this example Module federation with angular, but i am facing this error
I tried the ...
1
vote
1
answer
4k
views
Micro-Frontends: Importing External Remotes
Using Webpack's Module Federation Plugin for micro-frontend architecture, how can remotes be imported from a different repository?
4
votes
2
answers
3k
views
Live Reload by Webpack-Dev-Server when editing a Federated Module
I am working on an app leveraging micro-frontends with the Webpack Module Federation.
My "host" app provides a login screen and a layout with menu, header and footer.
My "modules" ...
1
vote
1
answer
7k
views
webpack5: shared module always report Container initialization failed as it has already been initialized with a different share scope
I try module federation via three projects: a shell, app1 and app2. The webpack config for shell is like this :
new ModuleFederationPlugin({
name: ‘she’ll,
library: { type: 'var', ...