Files
dzanan.net/src/app/app.config.ts
v7 1599615ec7
All checks were successful
Deploy dzanan.net / deploy (push) Successful in 1m2s
first commit
2026-05-14 20:58:16 +02:00

20 lines
652 B
TypeScript

import { ApplicationConfig, provideBrowserGlobalErrorListeners, provideZonelessChangeDetection } from '@angular/core';
import { provideRouter, withInMemoryScrolling } from '@angular/router';
import { routes } from './app.routes';
import { provideClientHydration, withEventReplay } from '@angular/platform-browser';
export const appConfig: ApplicationConfig = {
providers: [
provideBrowserGlobalErrorListeners(),
provideRouter(
routes,
withInMemoryScrolling({
anchorScrolling: 'enabled',
scrollPositionRestoration: 'enabled'
})
),
provideClientHydration(withEventReplay())
]
};