@angular/platform-server

入口点

主要

@angular/platform-server

次要

@angular/platform-server/testing

导出列表

PlatformState

Representation of the current platform state.

ServerModule

The ng module for the server.

ServerTransferStateModule

NgModule to install on the server side while using the TransferState to transfer state from server to client.

函数

renderModule

Renders a Module to string.

renderModuleFactory

Renders a NgModuleFactoryto string.

结构

PlatformConfig

Config object passed to initialize the platform.

类型

platformDynamicServer

The server platform that supports the runtime compiler.

platformServer
BEFORE_APP_SERIALIZED

A function that will be executed when calling renderModuleFactory or renderModule just before current platform state is rendered to string.

INITIAL_CONFIG

The DI token for setting the initial config for the platform.