Commit 0aeae9d9 authored by huriarte's avatar huriarte

Add Routing Module

parent 9207856a
......@@ -37,4 +37,14 @@ const routes: Routes = [
// Handle all other routes
{ path: '**', component: NotFoundComponent}
];
\ No newline at end of file
];
@NgModule({
imports: [RouterModule.forRoot(routes, {
scrollPositionRestoration: 'enabled',
anchorScrolling: 'enabled',
onSameUrlNavigation: 'ignore'
})],
exports: [RouterModule]
})
export class AppRoutingModule { }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment