How to use preload all strategy on device and nopreload on browser?
we can load all module like this:
imports: [
CommonModule,
RouterModule.forRoot(appRoutes, { preloadingStrategy: PreloadAllModules }),
...
],
This will preload all module in any platform,
But i want to prevent preload when running in browser. And only preload on device.
1 post - 1 participant