Update routes

This commit is contained in:
Çetin
2025-01-03 12:53:05 +03:00
parent 71930e6ebd
commit 383a883255
4 changed files with 43 additions and 16 deletions
+17
View File
@@ -0,0 +1,17 @@
import { Routes } from '@angular/router';
import { AppLayout} from '@/src/layout/applayout';
export const routes: Routes = [
{
path: '', component: AppLayout,
children:
[
{ path: '', loadComponent: () => import('./views/dashboard').then(c => c.Dashboard) },
{ path: 'uikit', loadChildren: () => import('./views/uikit/uikit.routes')},
{ path: 'pages', loadChildren: () => import('./views/pages/pages.routes')},
{path: 'documentation', loadComponent: () => import('./views/pages/documentation').then(c => c.Documentation)}
]
},
{ path: 'auth', loadChildren: () => import('./views/pages/auth/auth.routes')},
{ path: '**', redirectTo: '/notfound' },
];