import { NgModule } from '@angular/core' ; import { RouterModule , Routes } from '@angular/router' ; import { TechnicalComponent } from './technical/technical.component' ; const technicalRoutes = [ { component : TechnicalComponent , path : '' } ] ; @ NgModule ( { exports : [ RouterModule ] , imports : [ RouterModule . forChild ( technicalRoutes ) ] } ) export class TechnicalRoutingModule { }