• Overview
@angular/platform-server

provideServerRendering

function

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

provideServerRendering

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

Usage Notes

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

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