Read more:
- angular-in-vue-router ✅ Best practice - connecting Angular inside Vue with Vue Router
- angular-ngrx-vue-router ✅ Best practice - connecting Angular inside Vue with Vue Router with ngrx
- angular-react-vue
⚠️ No services working - simple app with angular-vue-react each to each connection
- Configure webpack ModuleFederationPlugin
-
Use
bootstrap.jsfiles to redefine entry points with asynchronous boundary is strongly recommended way:But if you
exposesand alsoremotesapplication (omnidirectional way), it is necessary- Cut everything from your entry file, for example -
main.jsto some other file, for example -bootstrap.js; - Use
importfunction inside thismain.js:
index.jsimport('./bootstrap');
bootstrap.jsimport React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
Check example
- Cut everything from your entry file, for example -
-
[indepth.dev] Zack Jackson | Webpack 5 Module Federation: A game-changer in JavaScript architecture
-
[YouTube] Lukas Ruebbelke | ng-conf | Framework Inception with Micro Frontend Composition - great example with socket io live monitoring
-
[YouTube] Jason Neal | ng-conf | Micro Frontend Architecture in 5 Minutes
-
Rany ElHousieny | Micro Frontends Step by Step Using React, Webpack 5, and Module Federation
-
[YouTube] Angular 12 - webpack 5 module federation with nice directive
-
[YouTube] Manfred Steyer | AngularAir | Using Module Federation in Angular v11