Files
psp_panel/src/app/app.routes.ts
T

22 lines
1.4 KiB
TypeScript
Raw Normal View History

2024-12-27 16:00:31 +03:00
import { Routes } from '@angular/router';
import {AppLayoutComponent} from './layout/app.layout.component';
import {NotfoundComponent} from './demo/components/notfound/notfound.component';
export const routes: Routes = [
{
path: '', component: AppLayoutComponent,
children: [
{ path: '', loadChildren: () => import('./demo/components/dashboard/dashboard.module').then(m => m.DashboardModule) },
{ path: 'uikit', loadChildren: () => import('./demo/components/uikit/uikit.module').then(m => m.UIkitModule) },
{ path: 'utilities', loadChildren: () => import('./demo/components/utilities/utilities.module').then(m => m.UtilitiesModule) },
{ path: 'documentation', loadChildren: () => import('./demo/components/documentation/documentation.module').then(m => m.DocumentationModule) },
{ path: 'blocks', loadChildren: () => import('./demo/components/primeblocks/primeblocks.module').then(m => m.PrimeBlocksModule) },
{ path: 'pages', loadChildren: () => import('./demo/components/pages/pages.module').then(m => m.PagesModule) }
]
},
{ path: 'auth', loadChildren: () => import('./demo/components/auth/auth.module').then(m => m.AuthModule) },
{ path: 'landing', loadChildren: () => import('./demo/components/landing/landing.module').then(m => m.LandingModule) },
{ path: 'notfound', component: NotfoundComponent },
{ path: '**', redirectTo: '/notfound' },
];