Created
May 19, 2018 16:36
-
-
Save daniele-zurico/3a015f6485994b45e5cdef63be163408 to your computer and use it in GitHub Desktop.
lazy.module.ts
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
@NgModule({ | |
imports: [ | |
CommonModule | |
], | |
declarations: [LazyComponent], | |
entryComponents: [LazyComponent] | |
}) | |
export class LazyModule { | |
static entry = LazyComponent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment