mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
pathMatch: 'full',
|
|
loadChildren: () => import('./home/home.module').then(m => m.HomeModule),
|
|
},
|
|
{
|
|
path: 'account',
|
|
loadChildren: () => import('@abp/ng.account').then(m => m.AccountModule.forLazy()),
|
|
},
|
|
{
|
|
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()),
|
|
},
|
|
{
|
|
path: 'my-project-name',
|
|
loadChildren: () =>
|
|
import('@my-company-name/my-project-name').then(m => m.MyProjectNameModule.forLazy()),
|
|
},
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
|
|
exports: [RouterModule],
|
|
})
|
|
export class AppRoutingModule {}
|
|
|