You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server-side rendering (SSR) will always enable server routing when using the application builder.
BREAKING CHANGE: `--server-routing` option has been removed from several schematics. Server routing will be used when using the application builder.
Copy file name to clipboardExpand all lines: packages/schematics/angular/server/files/application-builder/standalone-src/app/app.config.server.ts.template
+6-6
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
import { mergeApplicationConfig, ApplicationConfig } from '@angular/core';
2
-
import { provideServerRendering } from '@angular/platform-server';<% if(serverRouting) { %>
3
-
import { provideServerRouting } from '@angular/ssr';<% } %>
4
-
import { appConfig } from './app.config';<% if(serverRouting) { %>
5
-
import { serverRoutes } from './app.routes.server';<% } %>
2
+
import { provideServerRendering } from '@angular/platform-server';
3
+
import { provideServerRouting } from '@angular/ssr';
4
+
import { appConfig } from './app.config';
5
+
import { serverRoutes } from './app.routes.server';
0 commit comments