Created
May 29, 2019 18:34
-
-
Save rahulsahay19/87e900cd142cc9686af5ad1973858e26 to your computer and use it in GitHub Desktop.
CustomModule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NgModule } from '@angular/core'; | |
import { RouterModule } from '@angular/router'; | |
@NgModule({ | |
imports: [ | |
RouterModule.forChild([{ | |
path: '', | |
loadChildren: () => import('./lazy/lazy.module').then(m => m.LazyModule) | |
}]) | |
] | |
}) | |
export class CustomModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment