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 buildYou can inspect current import map by calling: http://localhost:3000/api/