angular-router-course icon indicating copy to clipboard operation
angular-router-course copied to clipboard

Angular Router Custom Preload.

Open hugoebarboza opened this issue 5 years ago • 0 comments

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

hugoebarboza avatar Jun 27 '20 20:06 hugoebarboza