This example shows a basic host application loading remote components
For more information, visit the article explaining this workflow
app1
expose header component.app2
import header exposed component fromapp1
Run npm install
and npm start
inside each repo. This will build and serve your apps on ports 3001
, 3002
.
Example from: https://github.com/module-federation/module-federation-examples/tree/master/basic-host-remote Reference: https://webpack.js.org/concepts/module-federation/