Revision 60843
Added by Stefania Martziou about 1 year ago
app-routing.module.ts | ||
---|---|---|
35 | 35 |
]; |
36 | 36 |
|
37 | 37 |
@NgModule({ |
38 |
imports: [RouterModule.forRoot(routes)], |
|
38 |
imports: [RouterModule.forRoot(routes, { |
|
39 |
// preloadingStrategy: PreloadAllModules, |
|
40 |
scrollPositionRestoration: 'top', |
|
41 |
onSameUrlNavigation: 'reload', |
|
42 |
// relativeLinkResolution: 'corrected' |
|
43 |
})], |
|
39 | 44 |
exports: [RouterModule] |
40 | 45 |
}) |
41 | 46 |
export class AppRoutingModule { } |
Also available in: Unified diff
Added the new methodology page