This commit is contained in:
rakesh 2023-10-20 10:24:03 +05:30
parent 8d565ce4fb
commit c26880240d
2 changed files with 12 additions and 12 deletions

View File

@ -14,7 +14,16 @@ export default [
redirect: '/b2b', redirect: '/b2b',
component: () => import(/* webpackChunkName: "meModule" */ '@/components/retailer/layout/Layout.vue'), component: () => import(/* webpackChunkName: "meModule" */ '@/components/retailer/layout/Layout.vue'),
children: [ children: [
{
path: 'b2b',
name: 'AccountDashboard',
component: () => import(/* webpackChunkName: "meModule" */ '@/routes/retailer/account_dashboard.vue'),
meta: {
breadcrumb: {
label: 'Account Dashboard Page',
},
}
},
{ {
path: '/b2b/:id', path: '/b2b/:id',
name: 'BoxedOrderHistoryPage', name: 'BoxedOrderHistoryPage',
@ -55,16 +64,7 @@ export default [
}, },
} }
}, },
{
path: 'b2b',
name: 'AccountDashboard',
component: () => import(/* webpackChunkName: "meModule" */ '@/routes/retailer/account_dashboard.vue'),
meta: {
breadcrumb: {
label: 'Account Dashboard Page',
},
}
},
{ {
path: 'address-book', path: 'address-book',
name: 'AddressBook', name: 'AddressBook',

View File

@ -4,7 +4,7 @@
/* eslint-disable */ /* eslint-disable */
const loginUrl = import.meta.env.VITE_APP_LOGIN_URL ? import.meta.env.VITE_APP_LOGIN_URL : '/gate/sign-in'; const loginUrl = import.meta.env.VITE_APP_LOGIN_URL ? import.meta.env.VITE_APP_LOGIN_URL : '/gate/sign-in';
const homeUrl = import.meta.env.VITE_APP_ME_URL ? import.meta.env.VITE_APP_ME_URL + '/b2b' : '/'; const homeUrl = import.meta.env.VITE_APP_ME_URL ? import.meta.env.VITE_APP_ME_URL : '/';
const vueMaintenanceMode = import.meta.env.VITE_APP_MAINTENANCE_MODE; const vueMaintenanceMode = import.meta.env.VITE_APP_MAINTENANCE_MODE;
const loginInterrupt = function(current_url, message) { const loginInterrupt = function(current_url, message) {