Skip to content

Instantly share code, notes, and snippets.

@daniele-zurico
Created May 19, 2018 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniele-zurico/3a015f6485994b45e5cdef63be163408 to your computer and use it in GitHub Desktop.
Save daniele-zurico/3a015f6485994b45e5cdef63be163408 to your computer and use it in GitHub Desktop.
lazy.module.ts
@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