import { NgModule } from '@angular/core' ; import { RouterModule , Routes } from '@angular/router' ; import { FocalMechanismComponent } from './focal-mechanism/focal-mechanism.component' ; const focalMechanismRoutes = [ { component : FocalMechanismComponent , path : '' } ] ; @ NgModule ( { exports : [ RouterModule ] , imports : [ RouterModule . forChild ( focalMechanismRoutes ) ] } ) export class FocalMechanismRoutingModule { }