Last active
March 10, 2019 10:21
-
-
Save phenomnomnominal/10aee045be75004c1d06482d00b37624 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: './lazy/lazy.module#LazyModule' | |
}]) | |
] | |
}) | |
export class MyModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment