This repo demonstrates micro frontend architecuture using Module Federation provided by webpack.
ng-host-monorepo
- Shell (host) applicationmfe01
- Simple project librarymfe02
- Micro Frontend project applicationremote01
- Micro Frontend Angular + Clarity applicationremote02
- Micro Frontend Angular + Material applicationremote03
- Micro Frontend Angular Webcomponent
- Install packages:
npm install
- Build & start micro frontend project application:
npm run build mfe02
ng serve mfe2 -o
- Build & start micro frontend application inside
remote01
,remote02
andremote03
application by using following commands for all applications:npm run build
ng serve -o
- Start shell application
ng serve -o
Have a look at this article series about Module Federation