_base.scss
html {
scroll-behavior: smooth;
}
app-routing.module.ts
@NgModule({
imports: [RouterModule.forRoot(routes, {
scrollPositionRestoration: 'enabled',
anchorScrolling: 'enabled',
preloadingStrategy: CustomPreloadingStrategy
})],
exports: [RouterModule],
providers: [UserAuthGuard, UserAuthStateGuard]
})
export class AppRoutingModule {
}
Top comments (0)