This example demos a basic host application loading remote component.
app1is the host application.app2standalone application which exposesButtoncomponent.
Run yarn start. This will build and serve both app1 and app2 on ports 3001 and 3002 respectively.
- localhost:3001 (HOST)
- localhost:3002 (STANDALONE REMOTE)
Module Federation Examples is being sponsored by the following tool; please help to support us by taking a look and signing up to a free trial