2026-04-27 21:53:11 +03:30
|
|
|
import { POS_ROUTES } from '@/domains/pos/routes';
|
|
|
|
|
import { Notfound } from '@/pages/notfound/notfound.component';
|
|
|
|
|
import { Routes } from '@angular/router';
|
|
|
|
|
|
|
|
|
|
export const appRoutes: Routes = [
|
2026-05-04 20:02:10 +03:30
|
|
|
{
|
|
|
|
|
path: '',
|
2026-05-11 13:36:06 +03:30
|
|
|
loadComponent: () =>
|
|
|
|
|
import('@/domains/pos/layouts/layout.component').then((m) => m.PosLayoutComponent),
|
|
|
|
|
children: [
|
|
|
|
|
POS_ROUTES,
|
|
|
|
|
{
|
|
|
|
|
path: 'auth',
|
|
|
|
|
loadComponent: () =>
|
|
|
|
|
import('@/modules/auth/pages/auth.component').then((m) => m.AuthComponent),
|
|
|
|
|
},
|
|
|
|
|
],
|
2026-04-27 21:53:11 +03:30
|
|
|
},
|
|
|
|
|
{ path: 'notfound', component: Notfound },
|
|
|
|
|
{ path: '**', redirectTo: '/notfound' },
|
|
|
|
|
];
|