Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. import { ModuleWithProviders, NgModule } from '@angular/core';
  2. import { Routes, RouterModule } from '@angular/router';
  3. import { LazyComponent } from './lazy.component';
  4.  
  5. @NgModule({
  6. imports: [
  7. RouterModule.forChild([
  8. { path: '', component: LazyComponent }
  9. ], { useHash: true })
  10. ],
  11. exports: [
  12. RouterModule
  13. ]
  14. })
  15.  
  16. export class LazyRoutingModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement