https://github.com/scriptedalchemy/webpack-federation-playground
This project serves as a simple federated app. We use this as a playground to test changes to the webpack core
https://github.com/scriptedalchemy/webpack-federation-playground
Last synced: 4 months ago
JSON representation
This project serves as a simple federated app. We use this as a playground to test changes to the webpack core
- Host: GitHub
- URL: https://github.com/scriptedalchemy/webpack-federation-playground
- Owner: ScriptedAlchemy
- Created: 2020-10-24T20:56:30.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T05:37:07.000Z (about 2 years ago)
- Last Synced: 2025-03-31T21:28:38.165Z (11 months ago)
- Language: JavaScript
- Size: 168 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
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.