From 7ff14a74742f012866f4043042a0b23b2b982137 Mon Sep 17 00:00:00 2001 From: "amir.chervinsky" Date: Mon, 10 Feb 2020 09:30:58 +0200 Subject: [PATCH] fix lazy loading syntax --- src/app/app-routing/app-routing.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app-routing/app-routing.module.ts b/src/app/app-routing/app-routing.module.ts index 84cbe34ea..acbf21471 100644 --- a/src/app/app-routing/app-routing.module.ts +++ b/src/app/app-routing/app-routing.module.ts @@ -27,11 +27,11 @@ const routes: Routes = [ }, { path: 'user/:id', - loadChildren: '../modules/user/user.module#UserModule' + loadChildren: () => import('../modules/user/user.module').then(m => m.UserModule) }, { path: 'user', - loadChildren: '../modules/user/user.module#UserModule' + loadChildren: () => import('../modules/user/user.module').then(m => m.UserModule) }, { path: 'entry-live/:id',