https://github.com/ashinga48/module-federation-webpack
https://github.com/ashinga48/module-federation-webpack
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ashinga48/module-federation-webpack
- Owner: ashinga48
- Created: 2020-11-17T22:20:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-17T22:35:41.000Z (over 4 years ago)
- Last Synced: 2025-01-27T06:18:44.299Z (4 months ago)
- Language: JavaScript
- Size: 10.9 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bi-Directional Hosts Example
This example demos bi-directional hosts each with their own remote `Button` components.
- `app1` exposes a red `App 1 Button` component.
- `app2` exposes a blue `App 2 Button` component.# Running Demo
Run `yarn start`. This will build and serve both `app1` and `app2` on ports 3001 and 3002 respectively.
- [localhost:3001](http://localhost:3001/)
- [localhost:3002](http://localhost:3002/)Notice that `app1` will asynchronously load `app2`'s button and vice versa.
![]()