diff --git a/micro-ui/web/lerna.json b/micro-ui/web/lerna.json index 58d190662c0..17c7a0f8604 100644 --- a/micro-ui/web/lerna.json +++ b/micro-ui/web/lerna.json @@ -3,6 +3,7 @@ "version": "0.0.0", "packages":[ "packages/core", + "packages/common", "packages/workbench", "packages/ui-core", "packages/app1" diff --git a/micro-ui/web/package.json b/micro-ui/web/package.json index 39238e5f0cf..a26212b0e20 100644 --- a/micro-ui/web/package.json +++ b/micro-ui/web/package.json @@ -18,6 +18,7 @@ "workspaces": [ "packages/core", "packages/workbench", + "packages/common", "packages/ui-core", "packages/app1" ], @@ -25,10 +26,12 @@ "build": "yarn lerna run build", "start": "yarn lerna run start --parallel", "build:core": "cd packages/core && yarn build", + "build:common": "cd packages/common && yarn build", "build:hrms": "cd packages/hrms && yarn build", "build:workbench": "cd packages/workbench && yarn build", "build:dss": "cd packages/dss && yarn build", "start:core": "cd packages/core && yarn start", + "start:common": "cd packages/common && yarn start", "start:workbench": "cd packages/workbench && yarn start" }, "dependencies": { diff --git a/micro-ui/web/packages/core/src/modules/registerRemotes.js b/micro-ui/web/packages/core/src/modules/registerRemotes.js index 5d9909fb18b..5a3c83fbf29 100644 --- a/micro-ui/web/packages/core/src/modules/registerRemotes.js +++ b/micro-ui/web/packages/core/src/modules/registerRemotes.js @@ -15,15 +15,16 @@ export default (queryClient) => { queryClient, }, }); - // registerApplication({ - // name: "Common", - // app: () => import("common/CommonModule"), - // activeWhen: "/workbench-ui/employee/common", - // customProps: { - // title: "Common Module is running on host", - // queryClient, - // }, - // }); + + registerApplication({ + name: "Common", + app: () => import("common/CommonModule"), + activeWhen: "/workbench-ui/employee/common", + customProps: { + title: "Common Module is running on host", + queryClient, + }, + }); // registerApplication({ // name: "app1",