Files
psp_panel/src/app.routes.ts
T

24 lines
987 B
TypeScript
Raw Normal View History

2025-01-03 12:53:05 +03:00
import { Routes } from '@angular/router';
2025-01-07 13:04:10 +03:00
import { AppLayout } from './app/layout/core/app.layout';
import { Dashboard } from './app/pages/dashboard/dashboard';
import { Documentation } from './app/pages/documentation/documentation';
import { Landing } from './app/pages/landing/landing';
import { Notfound } from './app/pages/notfound/notfound';
2025-01-03 12:53:05 +03:00
2025-01-07 12:16:16 +03:00
export const appRoutes: Routes = [
2025-01-06 15:38:18 +03:00
{
path: '',
component: AppLayout,
2025-01-03 17:20:47 +03:00
children: [
{ path: '', component: Dashboard },
2025-01-07 13:04:10 +03:00
{ path: 'uikit', loadChildren: () => import('./app/pages/uikit/uikit.routes') },
2025-01-03 17:20:47 +03:00
{ path: 'documentation', component: Documentation },
2025-01-07 13:04:10 +03:00
{ path: 'pages', loadChildren: () => import('./app/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 },
2025-01-07 13:04:10 +03:00
{ path: 'auth', loadChildren: () => import('./app/pages/auth/auth.routes') },
2025-01-07 17:29:51 +03:00
{ path: '**', redirectTo: '/notfound' }
2025-01-03 12:53:05 +03:00
];