renderModulelink
Renders a Module to string.
参数
module | Type: |
options | Type: |
返回值
Promise<string>
说明
document
is the full document HTML of the page to render, as a string. url
is the URL for the current render request. extraProviders
are the platform level providers for the current render request.
Do not use this in a production server environment. Use pre-compiled NgModuleFactory
with renderModuleFactory
instead.