This example demos a basic host application loading remote component.
host
is the host application (cra-based).remote
standalone application (cra-based) which exposesCard
component.- In each of the applications the
config-overides.js
file is where the webpack file is extended to include module federation
Run yarn install
.
Run yarn start
. This will build and serve both host
and remote
on ports 3000 and 3001 respectively.
- localhost:3000 (HOST)
- localhost:3001 (STANDALONE REMOTE)