import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import {DetachmentLevelComponent} from './detachment-level/detachment-level.component' import { PlanAuditComponent } from './plan-audit/plan-audit.component'; import { PlanPassComponent } from './plan-pass/plan-pass.component'; const routes: Routes = [ { path: 'detachmentLevel', component: DetachmentLevelComponent }, { path: 'planaudit', component: PlanAuditComponent }, { path: 'planpass', component: PlanPassComponent }, ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) export class PlanAuditRoutingModule { }