Skip to content

Instantly share code, notes, and snippets.

@nathan-lapinski
Created November 10, 2018 13:59
Show Gist options
  • Save nathan-lapinski/9507d7458354115eb85d923288f13d72 to your computer and use it in GitHub Desktop.
Save nathan-lapinski/9507d7458354115eb85d923288f13d72 to your computer and use it in GitHub Desktop.
specifying a preloading strategy
RouterModule.forRoot(ROUTES, {
preloadingStrategy: CustomPreloadingStrategy | PreloadAllModules | NoPreloading
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment