This example demos a basic host application loading remote component.
shell
is the App Shelldashboard
- standalone applicationorder
- standalone applicationsales
- standalone applicationprofile
- standalone application
Run the following commands:
nvm use
yarn lerna bootstrap --npm-client yarn
yarn build
To run the applicatio, run yarn start
. This will build all the apps shell
, dashboard
, order
, profile
, sales
on different ports as shown below
- localhost:3000 (HOST) -
shell
- localhost:3001 (STANDALONE REMOTE) -
dashboard
- localhost:3002 (STANDALONE REMOTE) -
order
- localhost:3003 (STANDALONE REMOTE) -
sales
- localhost:3004 (STANDALONE REMOTE) -
profile
You will notice that each of the above URLs will look exactly same. For more details Watch this YouTube video