import { NavbarChildComponent1 } from './child-component-1.component' ; import { NavbarChildComponent2 } from './child-component-2.component' ; export const navbarRoutes = [ { path : 'child-1' , component : NavbarChildComponent1 } , { path : 'child-2' , component : NavbarChildComponent2 } ] ;