renderModule
function
Bootstraps an application using provided NgModule and serializes the page content to string.
API
renderModule( moduleType: Type<T>, options: { document?: string | Document; url?: string; extraProviders?: StaticProvider[]; }): Promise<string>;
Jump to details