mirror of https://github.com/abpframework/abp
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.
29 lines
891 B
29 lines
891 B
import { DynamicLayoutComponent } from '@abp/ng.core';
|
|
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { LoginComponent } from './components/login/login.component';
|
|
import { ManageProfileComponent } from './components/manage-profile/manage-profile.component';
|
|
import { RegisterComponent } from './components/register/register.component';
|
|
|
|
const routes: Routes = [
|
|
{ path: '', pathMatch: 'full', redirectTo: 'login' },
|
|
{
|
|
path: '',
|
|
component: DynamicLayoutComponent,
|
|
children: [
|
|
{ path: 'login', component: LoginComponent },
|
|
{ path: 'register', component: RegisterComponent },
|
|
{
|
|
path: 'manage-profile',
|
|
component: ManageProfileComponent,
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule],
|
|
})
|
|
export class AccountRoutingModule {}
|