function
Sets up providers necessary to enable server rendering functionality for the application.
provideServerRendering(): EnvironmentProviders
There are no parameters.
EnvironmentProviders
: A set of providers to setup the server.
Basic example of how you can add server support to your application:
bootstrapApplication(AppComponent, { providers: [provideServerRendering()] });
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/platform-server/provideServerRendering