|
|
|
@ -5,33 +5,27 @@ import { RouterModule, Routes } from '@angular/router';
|
|
|
|
|
const routes: Routes = [
|
|
|
|
|
{
|
|
|
|
|
path: '',
|
|
|
|
|
component: DynamicLayoutComponent,
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: '',
|
|
|
|
|
pathMatch: 'full',
|
|
|
|
|
loadChildren: () => import('./home/home.module').then(m => m.HomeModule),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'account',
|
|
|
|
|
loadChildren: () =>
|
|
|
|
|
import('@abp/ng.account').then(m => m.AccountModule.forLazy({ redirectUrl: '/' })),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'identity',
|
|
|
|
|
loadChildren: () => import('@abp/ng.identity').then(m => m.IdentityModule.forLazy()),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'tenant-management',
|
|
|
|
|
loadChildren: () =>
|
|
|
|
|
import('@abp/ng.tenant-management').then(m => m.TenantManagementModule.forLazy()),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'setting-management',
|
|
|
|
|
loadChildren: () =>
|
|
|
|
|
import('@abp/ng.setting-management').then(m => m.SettingManagementModule.forLazy()),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
pathMatch: 'full',
|
|
|
|
|
loadChildren: () => import('./home/home.module').then(m => m.HomeModule),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'account',
|
|
|
|
|
loadChildren: () =>
|
|
|
|
|
import('@abp/ng.account').then(m => m.AccountModule.forLazy({ redirectUrl: '/' })),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'identity',
|
|
|
|
|
loadChildren: () => import('@abp/ng.identity').then(m => m.IdentityModule.forLazy()),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'tenant-management',
|
|
|
|
|
loadChildren: () =>
|
|
|
|
|
import('@abp/ng.tenant-management').then(m => m.TenantManagementModule.forLazy()),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'setting-management',
|
|
|
|
|
loadChildren: () =>
|
|
|
|
|
import('@abp/ng.setting-management').then(m => m.SettingManagementModule.forLazy()),
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|