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