FederationDemo
Demonstrates webpack 5 Module Federation with Angular and the Angular Router.
Start
- Install dependencies with yarn (!)
- You need to use yarn until Angular 12 (May 2021) to use the experimental opt-in for webpack 5
- Beginning with Angular 12, webpack 5 will be active by default
- Run Micro Frontend 1
- ng serve mfe1 -o
- Run Micro Frontend 2
- ng serve mfe2 -o
- Run the shell
- ng serve shell -o