renderModule()

renderModule

Experimental Function

Class Export

export renderModule(module: Type<T>, options: PlatformOptions) : Promise<string>

Renders a Module to string.

Do not use this in a production server environment. Use pre-compiled NgModuleFactory with {link renderModuleFactory} instead.

exported from platform-server-index defined in platform-server/src/utils.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/platform-server/index/renderModule-function.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部