We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75e4cad commit bb30924Copy full SHA for bb30924
showcases/angular-ssr-showcase/src/main.server.ts
@@ -1,7 +1,11 @@
1
-import { bootstrapApplication } from '@angular/platform-browser';
+import {
2
+ bootstrapApplication,
3
+ BootstrapContext
4
+} from '@angular/platform-browser';
5
import { AppComponent } from '../../angular-showcase/src/app/app.component';
6
import { config } from './app/app.config.server';
7
-const bootstrap = async () => bootstrapApplication(AppComponent, config);
8
+const bootstrap = (context: BootstrapContext) =>
9
+ bootstrapApplication(AppComponent, config, context);
10
11
export default bootstrap;
0 commit comments