Demo shop for the article You Might Not Need Module Federation: Orchestrate your Microfrontends at Runtime with Import Maps.
Node 18.12.0.
The project is using NPM workspaces and Nx.
t-shop
ββ mfs β¬
microfrontends
β ββ product-buy-box
β ββ product-teaser
β ββ product-tile
β ββ shop-footer
β ββ shop-header
ββ publisher β¬
handles submission of assets
ββ resolver β¬
stores and updates import map
ββ shell β¬
host app
npm install
- Run Import Map Resolver in terminal 1
npm run start
- Build and publish microfrontends in terminal 2
npm run build
You can inspect current import map by calling: http://localhost:3000/api/