Skip to content

Commit

Permalink
trying with stable core
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunarora-eGov committed Mar 2, 2024
1 parent 6317008 commit be16c9d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions micro-ui/web/packages/core/src/modules/registerRemotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import { registerApplication,start } from "single-spa";

export default (queryClient) => {

registerApplication({
name: "Workbench",
app: () => import("workbench/WorkbenchModule"),
activeWhen: "/workbench-ui/employee/workbench",
customProps: {
title: "Workbench is running on host",
queryClient,
},
});
// registerApplication({
// name: "Workbench",
// app: () => import("workbench/WorkbenchModule"),
// activeWhen: "/workbench-ui/employee/workbench",
// customProps: {
// title: "Workbench is running on host",
// queryClient,
// },
// });

// registerApplication({
// name: "app1",
Expand All @@ -26,6 +26,6 @@ export default (queryClient) => {
// },
// });

start();
// start();
}

2 changes: 1 addition & 1 deletion micro-ui/web/packages/core/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = () => {
// header: "header@http://localhost:8083/remoteEntry.js",
// dashboard: "dashboard@http://localhost:8084/remoteEntry.js",
// hrms: "hrms@https://localhost:8085/remoteEntry.js",
workbench: "workbench@https://localhost:8086/remoteEntry.js",
// workbench: "workbench@https://localhost:8086/remoteEntry.js",
// app1: "app1@https://localhost:8001/remoteEntry.js",
// dss: "dss@https://localhost:8087/remoteEntry.js",
// measurement : "measurement@https://localhost:8088/remoteEntry.js"
Expand Down
4 changes: 2 additions & 2 deletions micro-ui/web/packages/core/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = () => {
const prodConfig = {
mode: "production",
output: {
publicPath: "auto"
publicPath: "/core-digit-ui/"
},
plugins: [
new ModuleFederationPlugin({
Expand All @@ -20,7 +20,7 @@ module.exports = () => {
// header: `header@${domain}/header/remoteEntry.js`,
// dashboard: `dashboard@${domain}/dashboard/remoteEntry.js`,
// hrms: `hrms@${domain}/hrms/remoteEntry.js`,
workbench : `workbench@${domain}/workbench/remoteEntry.js`,
// workbench : `workbench@${domain}/workbench/remoteEntry.js`,
// dss : `dss@${domain}/dss/remoteEntry.js`,
// measurement : `measurement@${domain}/measurement/remoteEntry.js`
},
Expand Down

0 comments on commit be16c9d

Please sign in to comment.