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
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ export class FooComponent {
66
66
console.log(`Rendering Foo for path ${request?.url} from location ${context?.geo?.city}`)
67
67
// ...
68
68
}
69
-
69
+
70
70
}
71
71
```
72
72
@@ -98,15 +98,15 @@ export class FooComponent {
98
98
console.log(`Rendering Foo for path ${request?.url} from location ${context?.geo?.city}`)
99
99
// ...
100
100
}
101
-
101
+
102
102
}
103
103
```
104
104
105
105
Note that App Engine in Angular 19 is in Developer Preview and requires explicit opt-in.
106
106
107
107
## Request handling
108
108
109
-
Starting with Angular@19. The build plugin makes use of the `server.ts` file to handle requests. The default Angular scaffolding generates incompatible code for Netlify so the build plugin will swap it for compatible `server.ts` file automatically if it detects default version being used.
109
+
Starting with Angular@19. The build plugin makes use of the `server.ts` file to handle requests. The default Angular scaffolding generates incompatible code for Netlify so the build plugin will swap it for compatible `server.ts` file automatically if it detects default version being used.
110
110
111
111
Make sure you have `@netlify/angular-runtime` version 2.2.0 or later installed in your project. Netlify compatible `server.ts` file imports utilities from this package and Angular Compiler need to be able to resolve it and it can only do that if it's installed in your project and not when it's auto-installed by Netlify.
112
112
@@ -118,7 +118,7 @@ If you are using Angular 20 or Angular 19 with App Engine Developer Preview:
0 commit comments