Module Federation Server Side Rendering example using loadable-components, webpack-federation-module-id-plugin, and webpack-federation-stats-plugin
This example demos a basic host application loading remote component.
website1is the host application.website2standalone application which exposesHeadercomponent.
Run yarn build && yarn serve. This will build and serve both website1 and website2 on ports 3001 and 3002 respectively.
- localhost:3001 (HOST)
- localhost:3002 (STANDALONE REMOTE)