import { Routes } from '@angular/router' ; import { HomeComponent } from './components/home/home.component' ; export const HomeRoutes = [ { path : 'home' , component : HomeComponent } , { path : 'about' , loadChildren : 'app/+about/about.module#AboutModule' } ] ;