Webpack Module Federation Plugin Examples

This repos has examples on how to use module federation plugin with different javascript framework.

Simple Javascript Example

This is a simple javascript based micro app, that is build with 3 micro front ends.

All three app can be started up using nmpm start command and the result can be seen by visiting http://localhost:8080

React Micro Front Ends

This is a react based app that is built with 3 different micro front end apps. The UI is built using material UI and there is some type safety at build time using Typescript. The app consist of 3 parts

To run the apps locally, just run npm start in all the 3 folders and the result can be seen by visiting http://localhost:8080

Some common development problems have been listed in the readme file react-mfe-example\README.md There is a working demo at https://ddx8fo6nyam9i.cloudfront.net/