This project consist of three pieces, a host app container and two remotes app1 app2.
Workflow:
app1expose CounterAppOne component.app2expose CounterAppTwo header component.containerimport CounterAppOne and CounterAppTwo component.
In order to run the demo I highly recommend installing lerna globally via
npm i -g lernaThen,
lerna bootstrapRun the command above at the root of your project. This command will make sure you have dependencies you need in order to run this project.
Finally,
npm run startLerna will start all your projects parallelly and open your browser.
- http://localhost:3000/ (container)
- http://localhost:3001/ (app1)
- http://localhost:3002/ (app2)
React, Typescript, Chakra UI, Webpack