Skip to content

Commit

Permalink
enable common ui module mfe (#169)
Browse files Browse the repository at this point in the history
* dpg-2227: added yml file for mfe module(engagement,fsm,tqm,pgr)

* enable common ui module mfe

---------

Co-authored-by: nabeelmd-eGov <[email protected]>
  • Loading branch information
nabeelmd-eGov and nabeelmd-eGov authored Feb 27, 2024
1 parent 10f638c commit 6aa1a93
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
1 change: 1 addition & 0 deletions micro-ui/web/lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.0",
"packages":[
"packages/core",
"packages/common",
"packages/workbench",
"packages/ui-core",
"packages/app1"
Expand Down
3 changes: 3 additions & 0 deletions micro-ui/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,20 @@
"workspaces": [
"packages/core",
"packages/workbench",
"packages/common",
"packages/ui-core",
"packages/app1"
],
"scripts": {
"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": {
Expand Down
19 changes: 10 additions & 9 deletions micro-ui/web/packages/core/src/modules/registerRemotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6aa1a93

Please sign in to comment.