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',