feat: streamline routing and layout initialization for POS module
This commit is contained in:
+7
-7
@@ -10,13 +10,13 @@ export const appRoutes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
loadComponent: () => import('@/layout/default/app.layout.component').then((m) => m.AppLayout),
|
||||
children: [
|
||||
SUPER_ADMIN_ROUTES,
|
||||
CONSUMER_ROUTES,
|
||||
PROVIDER_ROUTES,
|
||||
PARTNER_ROUTES,
|
||||
...POS_ROUTES.children!,
|
||||
],
|
||||
children: [SUPER_ADMIN_ROUTES, CONSUMER_ROUTES, PROVIDER_ROUTES, PARTNER_ROUTES],
|
||||
},
|
||||
{
|
||||
path: 'pos',
|
||||
loadComponent: () =>
|
||||
import('@/domains/pos/layouts/layout.component').then((m) => m.PosLayoutComponent),
|
||||
children: [POS_ROUTES],
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user