@angular/platform-server
Supports delivery of Angular apps on a server, for use with server-side rendering (SSR).
For more information, see Server-side Rendering: An intro to Angular Universal.
入口点
主要
@angular/platform-server | Supports delivery of Angular apps on a server, for use with server-side rendering (SSR). |
次要
@angular/platform-server/testing | Supplies a testing module for the Angular platform server subsystem. |
主入口点的导出
模块
ServerModule | The ng module for the server. |
ServerTransferStateModule | NgModule to install on the server side while using the |
类
PlatformState | Representation of the current platform state. |
函数
renderModule | Renders a Module to string. |
renderModuleFactory | Renders a |
结构
PlatformConfig | Config object passed to initialize the platform. |
类型
BEFORE_APP_SERIALIZED | A function that will be executed when calling |
INITIAL_CONFIG | The DI token for setting the initial config for the platform. |
platformDynamicServer | The server platform that supports the runtime compiler. |
platformServer |