Update routes
This commit is contained in:
@@ -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' },
|
||||
];
|
||||
Reference in New Issue
Block a user