Skip to content

Commit

Permalink
enabled common,pgr,dss,hrms
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunarora-eGov committed Mar 20, 2024
1 parent e60e0b8 commit 3647f72
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
60 changes: 30 additions & 30 deletions micro-ui/web/packages/core/src/modules/registerRemotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,38 +21,38 @@ export default (queryClient) => {
// });


// registerApplication({
// name: "Common",
// app: () => import("common/CommonModule"),
// activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/payment`, //change to userType here
// customProps: {
// title: "Common Module is running on host",
// queryClient,
// userType
// },
// });
registerApplication({
name: "Common",
app: () => import("common/CommonModule"),
activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/${userType}/payment`, //change to userType here
customProps: {
title: "Common Module is running on host",
queryClient,
userType
},
});

// registerApplication({
// name: "PGR",
// app: () => import("pgr/PGRModule"),
// activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/pgr/`,
// customProps: {
// title: "PGR is running on host",
// queryClient,
// userType
// },
// });
registerApplication({
name: "PGR",
app: () => import("pgr/PGRModule"),
activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/pgr/`,
customProps: {
title: "PGR is running on host",
queryClient,
userType
},
});

// registerApplication({
// name: "Dss",
// app: () => import("dss/DSSModule"),
// activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/dss`,
// customProps: {
// title: "DSS is running on host",
// queryClient,
// userType
// },
// });
registerApplication({
name: "Dss",
app: () => import("dss/DSSModule"),
activeWhen: `/${window.contextPath ? window.contextPath : "core-digit-ui"}/employee/dss`,
customProps: {
title: "DSS is running on host",
queryClient,
userType
},
});

registerApplication({
name: "HRMS",
Expand Down
6 changes: 3 additions & 3 deletions micro-ui/web/packages/core/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ module.exports = () => {
// header: `header@${domain}/header/remoteEntry.js`,
// dashboard: `dashboard@${domain}/dashboard/remoteEntry.js`,
hrms: `hrms@${domain}/hrms-ui/remoteEntry.js`,
// common: `common@${domain}/common-ui/remoteEntry.js`,
// pgr: `pgr@${domain}/pgr-ui/remoteEntry.js`,
common: `common@${domain}/common-ui/remoteEntry.js`,
pgr: `pgr@${domain}/pgr-ui/remoteEntry.js`,
// workbench : `workbench@${domain}/workbench-mfe/remoteEntry.js`,
// dss : `dss@${domain}/dss-ui/remoteEntry.js`,
dss : `dss@${domain}/dss-ui/remoteEntry.js`,
// measurement : `measurement@${domain}/measurement/remoteEntry.js`
},
shared: packageJson.dependencies,
Expand Down

0 comments on commit 3647f72

Please sign in to comment.