angular-router-course
angular-router-course copied to clipboard
Angular Router Custom Preload.
Hi, I followed the post about "Angular Router Custom Preloading Strategy", but I have a question.
May I use preload with a canLoad route ?
For example: { path: 'activity', canLoad: [ LoginGuardGuard ], loadChildren : () => import('./pages/activity/activity.module').then(m => m.ActivityModule), data: { preload: true } }
Sincerely, Hugo