npm ci
npx nx build login
npx nx build dashboard
cd dist/apps/login
npx http-server -p [LOGIN_PORT] --cors
Edit file dist/apps/dashboard/assets/module-federation.manifest.json
and update port value:
{
"login": "http://localhost:[LOGIN_PORT]"
}
cd dist/apps/dashboard
npx http-server -p [DASHBOARD_PORT]