Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RouterModule.forRoot([
- { path: '', component: HomeComponent, pathMatch: 'full'},
- { path: 'list/:itemList', loadChildren: './ui/list/lazy.module#LazyModule'},
- { path: 'item/:id', loadChildren: './ui/item/item.module#ItemModule'},
- { path: 'privacy', loadChildren: './ui/privacy/privacy.module#PrivacyModule'},
- { path: 'terms', loadChildren: './ui/terms/terms.module#TermsModule'},
- { path: 'contacts', loadChildren: './ui/contacts/contacts.module#ContactsModule'},
- { path: 'about', loadChildren: './ui/about/about.module#AboutModule'},
- ]),
Add Comment
Please, Sign In to add comment