Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.02 KB

File metadata and controls

22 lines (13 loc) · 1.02 KB

Dashboard Example

This example shows the dashboard running in read-only mode.

Please follow instructions here to boot and run the dashboard: https://www.npmjs.com/package/@module-federation/dashboard-plugin

  • app1 exposes a red <button>App 1 Button</button> component.
  • app2 exposes a blue <button>App 2 Button</button> component.

Running Demo

Run the Dashboard Docker container as per instructions.

Then run yarn build and reload the dashboard to see the end result

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

Notice that app1 will asynchronously load app2's button and vice versa.