My goal is to create module federation example with package-based monorepo angular. Package-based monorepo because I am expecting this scenario:
/checkout
with Angular 15./product
with Angular 16.
I am following this tutorial https://nx.dev/recipes/angular/module-federation-with-ssr but with package-based monorepo
The problem: I can't go to path /checkout
or /product
.
What I've tried:
- use integrated monorepo.
/checkout
and/product
works. - use package-based monorepo with react.
/checkout
and/product
works.
NG0203
is caused by having multiple copies of@angular/core
.All apps should rely on the same core package.