mawi12345 / module-federation-dynamic-remotes-hot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamic Remote Vendor Sharing Example with Hot Reloading

This example demos a basic host application loading remote component and sharing vendor code dynamically between unknown remotes

  • app1 is the host application.
  • app2 standalone application which exposes Widget component.
  • app3 standalone application which exposes Widget component that requires momentjs.

Running Demo

Run yarn start. This will build and serve both app1, app2, and app3 on ports 3001, 3002, and 3003 respectively.

About


Languages

Language:JavaScript 98.1%Language:HTML 1.9%