Created
May 12, 2020 20:50
-
-
Save dsebastien/d6b170670ebc2f77ee8d12d013d0de19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const appRoutes: CustomRoutes = [ | |
{ | |
path: "todos", | |
loadChildren: () => import("@app/todos/feature-shell").then((mod) => mod.TodosFeatureShellModule), | |
... | |
data: { | |
... | |
scrollBehavior: RouteScrollBehaviour.KEEP_POSITION, | |
}, | |
... | |
}, | |
... | |
]; | |
@NgModule({ | |
exports: [RouterModule], | |
imports: [ | |
... | |
RouterModule.forRoot(appRoutes, { | |
... | |
}), | |
... | |
] | |
... | |
}) | |
export class AppRoutingModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment