• Overview
@angular/platform-server

provideServerRendering

function
stable

Sets up providers necessary to enable server rendering functionality for the application.

API

@returnsEnvironmentProviders

A set of providers to setup the server.

Usage Notes

Basic example of how you can add server support to your application:

bootstrapApplication(AppComponent, {
  providers: [provideServerRendering()]
});
Jump to details