Summarized current issues #9

Merged
FrauJulian merged 5 commits from summarized_current_issues into master 2025-07-25 12:44:10 +00:00
2 changed files with 8 additions and 3 deletions
Showing only changes of commit 595db7c398 - Show all commits
+3 -1
View File
@@ -37,7 +37,9 @@
],
"scripts": [],
"server": "src/main.server.ts",
"prerender": true,
"prerender": {
"routes": ["/", "/imprint"]
},
"ssr": {
"entry": "src/server.ts"
}
+5 -2
View File
@@ -1,5 +1,5 @@
import {ApplicationConfig, importProvidersFrom, provideZoneChangeDetection} from '@angular/core';
import {provideRouter} from '@angular/router';
import {provideRouter, withInMemoryScrolling} from '@angular/router';
import {BrowserModule, provideClientHydration, withEventReplay} from '@angular/platform-browser';
import {routes} from './app.routes';
@@ -8,7 +8,10 @@ import {provideAnimations} from '@angular/platform-browser/animations';
export const appConfig: ApplicationConfig = {
providers: [
provideZoneChangeDetection({eventCoalescing: true}),
provideRouter(routes),
provideRouter(routes, withInMemoryScrolling({
anchorScrolling: 'enabled',
scrollPositionRestoration: 'top'
})),
provideClientHydration(withEventReplay()),
importProvidersFrom(BrowserModule),
provideAnimations()