Commit 0aeae9d9 authored by huriarte's avatar huriarte

Add Routing Module

parent 9207856a
...@@ -38,3 +38,13 @@ const routes: Routes = [ ...@@ -38,3 +38,13 @@ const routes: Routes = [
// Handle all other routes // Handle all other routes
{ path: '**', component: NotFoundComponent} { path: '**', component: NotFoundComponent}
]; ];
@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