import { NgModule } from '@angular/core' ; import { RouterModule } from '@angular/router' ; import { FiniteFaultComponent } from './finite-fault/finite-fault.component' ; const finiteFaultRoutes = [ { component : FiniteFaultComponent , path : '' } ] ; @ NgModule ( { exports : [ RouterModule ] , imports : [ RouterModule . forChild ( finiteFaultRoutes ) ] } ) export class FiniteFaultRoutingModule { }