Files
psp_panel/src/routes.ts
T

23 lines
902 B
TypeScript
Raw Normal View History

2025-01-03 12:53:05 +03:00
import { Routes } from '@angular/router';
2025-01-06 15:38:18 +03:00
import { AppLayout } from '@/src/layout/applayout';
2025-01-03 17:20:47 +03:00
import { Documentation } from '@/src/views/pages/documentation';
import { Dashboard } from '@/src/views/dashboard';
2025-01-06 15:38:18 +03:00
import { Landing } from './views/pages/landing';
import { Notfound } from './views/pages/notfound';
2025-01-03 12:53:05 +03:00
export const routes: Routes = [
2025-01-06 15:38:18 +03:00
{
path: '',
component: AppLayout,
2025-01-03 17:20:47 +03:00
children: [
{ path: '', component: Dashboard },
{ path: 'uikit', loadChildren: () => import('./views/uikit/uikit.routes') },
{ path: 'documentation', component: Documentation },
2025-01-06 15:38:18 +03:00
{ path: 'pages', loadChildren: () => import('./views/pages/pages.routes') }
2025-01-03 17:20:47 +03:00
]
2025-01-03 12:53:05 +03:00
},
2025-01-06 15:38:18 +03:00
{ path: 'landing', component: Landing },
{ path: 'notfound', component: Notfound },
{ path: 'auth', loadChildren: () => import('./views/pages/auth/auth.routes') }
2025-01-03 12:53:05 +03:00
];