This is an example repository demonstrating micro-frontends using Webpack Module Federation.
There are 2 applications;
container-app: React "container" appremote-app: React micro-frontend
remote-app is exposing a component called contact-us-form and is consumed by container-app.
- run
npm install- Install all the dependencies to run the apps in parallel. - run
npm run install:apps- Install all the required dependencies on bothcontainer-appandremote-app. - run
npm run start- Start bothcontainer-appandremote-app.
container-appruns onlocalhost:3000remote-appruns onlocalhost:3001