summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/app-routing.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk/epsdk-app-os/ngappsrc/src/app/app-routing.module.ts')
-rw-r--r--ecomp-sdk/epsdk-app-os/ngappsrc/src/app/app-routing.module.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/app-routing.module.ts b/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/app-routing.module.ts
index 4de2ea84..b1ef789a 100644
--- a/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/app-routing.module.ts
+++ b/ecomp-sdk/epsdk-app-os/ngappsrc/src/app/app-routing.module.ts
@@ -36,13 +36,13 @@
*
*/
import { NgModule } from '@angular/core';
-import { Routes, RouterModule } from '@angular/router';
+import {Routes, RouterModule, PreloadAllModules} from '@angular/router';
const routes: Routes = [
- { path: 'v2', loadChildren: () => import('./layout/layout.module').then(m => m.LayoutModule) },
- { path: 'error', loadChildren: () => import('./server-error/server-error.module').then(m => m.ServerErrorModule) },
- { path: 'access-denied', loadChildren: () => import('./access-denied/access-denied.module').then(m => m.AccessDeniedModule) },
- { path: 'not-found', loadChildren: () => import('./not-found/not-found.module').then(m => m.NotFoundModule) },
+ { path: 'v2', loadChildren: './layout/layout.module#LayoutModule' },
+ { path: 'error', loadChildren: './server-error/server-error.module#ServerErrorModule' },
+ { path: 'access-denied', loadChildren: './access-denied/access-denied.module#AccessDeniedModule' },
+ { path: 'not-found', loadChildren: './not-found/not-found.module#NotFoundModule' },
{ path: '**', redirectTo: 'not-found' }
];