Revision 61412
Added by John Balasis over 2 years ago
app-routing.module.ts | ||
---|---|---|
33 | 33 |
}, |
34 | 34 |
{ |
35 | 35 |
path: 'repository', |
36 |
loadChildren: './pages/repository/repository.module#RepositoryModule',
|
|
36 |
loadChildren: () => import('./pages/repository/repository.module').then(m => m.RepositoryModule),
|
|
37 | 37 |
// loadChildren: () => import('./pages/repository/repository.module').then(m => m.RepositoryModule), |
38 | 38 |
canActivate: [AuthGuardService] |
39 | 39 |
}, |
40 | 40 |
{ |
41 | 41 |
path: 'repositoryAdmin', |
42 |
loadChildren: './pages/repository/repository.module#RepositoryModule',
|
|
42 |
loadChildren: () => import('./pages/repository/repository.module').then(m => m.RepositoryModule),
|
|
43 | 43 |
// loadChildren: () => import('./pages/repository/repository.module').then(m => m.RepositoryModule), |
44 | 44 |
canActivate: [AuthGuardService] |
45 | 45 |
}, |
... | ... | |
52 | 52 |
// }, |
53 | 53 |
{ |
54 | 54 |
path: 'sources', |
55 |
loadChildren: './pages/sources/sources.module#SourcesModule',
|
|
55 |
loadChildren: () => import('./pages/sources/sources.module').then(m => m.SourcesModule),
|
|
56 | 56 |
canActivate: [AuthGuardService] |
57 | 57 |
}, |
58 | 58 |
{ |
59 | 59 |
path: 'compatibility', |
60 |
loadChildren: './pages/compatibility/compatibility.module#CompatibilityModule'
|
|
60 |
loadChildren: () => import('./pages/compatibility/compatibility.module').then(m => m.CompatibilityModule)
|
|
61 | 61 |
}, |
62 | 62 |
{ |
63 | 63 |
path: 'content', |
64 |
loadChildren: './pages/content/content.module#ContentModule',
|
|
64 |
loadChildren: () => import('./pages/content/content.module').then(m => m.ContentModule),
|
|
65 | 65 |
canActivate: [AuthGuardService] |
66 | 66 |
}, |
67 | 67 |
// { |
... | ... | |
71 | 71 |
// }, |
72 | 72 |
{ |
73 | 73 |
path: 'admin', |
74 |
loadChildren: './pages/adminPg/adminPg.module#AdminPgModule',
|
|
74 |
loadChildren: () => import('./pages/adminPg/adminPg.module').then(m => m.AdminPgModule),
|
|
75 | 75 |
}, |
76 | 76 |
{ |
77 | 77 |
path: '403-forbidden', |
Also available in: Unified diff
angular upgrade to v8 lts