platformServer
Creates a server-side instance of an Angular platform.
platformServer
Creates a server-side instance of an Angular platform.
This platform should be used when performing server-side rendering of an Angular application.
Standalone applications can be bootstrapped on the server using the bootstrapApplication
function from @angular/platform-browser
. When using bootstrapApplication
, the platformServer
should be created first and passed to the bootstrap function using the BootstrapContext
.
PlatformRef
Description
Creates a server-side instance of an Angular platform.
This platform should be used when performing server-side rendering of an Angular application.
Standalone applications can be bootstrapped on the server using the bootstrapApplication
function from @angular/platform-browser
. When using bootstrapApplication
, the platformServer
should be created first and passed to the bootstrap function using the BootstrapContext
.