blob: ec4f81943689dd2982e2745c6790250ed45b74c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {UserProfileComponent} from './user-profile.component';
import {SearchComponent} from './profile/search/search.component';
import {SelfComponent} from './profile/self/self.component';
const routes: Routes = [
{
path: '',
component: UserProfileComponent,
children: [
{path: '', component: SearchComponent},
{path: 'self_profile', component: SelfComponent},
]
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class UserProfileRouting{
}
|