2026-05-16 16:11:58 +03:30
|
|
|
import { posAuthNamedRoutes } from '@/domains/pos/modules/auth/constants';
|
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),
|
2026-05-16 16:11:58 +03:30
|
|
|
children: [POS_ROUTES],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
...posAuthNamedRoutes.login,
|
|
|
|
|
path: 'auth',
|
2026-04-27 21:53:11 +03:30
|
|
|
},
|
|
|
|
|
{ path: 'notfound', component: Notfound },
|
|
|
|
|
{ path: '**', redirectTo: '/notfound' },
|
|
|
|
|
];
|