Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { NgModule } from '@angular/core';
- import { RouterModule, Routes } from '@angular/router';
- import { CustomPreloadingStrategy } from './custom-preloading';
- -------
- -------
- @NgModule({
- imports: [
- RouterModule.forRoot(routes,
- {
- preloadingStrategy: CustomPreloadingStrategy
- })
- ],
- exports: [
- RouterModule
- ]
- })
- export class AppRoutingModule { }
Add Comment
Please, Sign In to add comment