2017-02-23 1 views
1

아이 경로가 거의없는 각도 2 앱에 대시 보드 경로가 있습니다.라우터에서 선언 된 중첩 된 경로 목록을 가져 오는 방법은 무엇입니까?

{ path: 'app/:property', component: DashboardComponent, canActivate: [AuthGuardService], 
    children: [ 
    { path: 'home', component: HomeComponent } 
    { path: 'welcome-slide', component: WelcomeSlideComponent } 
    { path: 'analytics', component: AnalyticsComponent } 
    ] 
}, 

자신의 경로 (어쩌면 또한 이름) 그때 그들과 함께 내 탐색 모음을 채우는 데 사용할 수 있습니다와 자식 경로의 목록을하는 방법이 있나요?

+0

원하는대로이 구성을 가져 오십시오. :) – yurzui

답변

관련 문제