member_webapp/src/app/pages/targets/target-page-routing.module.ts
2018-06-11 16:33:34 +09:00

25 lines
681 B
TypeScript

import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { TargetPageComponent } from './target-page.component';
import { TargetListPageComponent } from './target-list-page.component';
import { TargetDetailPageComponent } from './target-detail-page.component';
const routes: Routes = [
{
path: '',
component: TargetPageComponent,
children: [
// { path: ':id/target', component: TargetListPageComponent },
{ path: ':id/info', component: TargetDetailPageComponent }
]
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class TargetPageRoutingModule { }