@angular/platform-server

renderApplication

function

Bootstraps an instance of an Angular application and renders it to a string.

  
    function renderApplication<T>(  bootstrap: () => Promise<ApplicationRef>,  options: { document?: string | Document | undefined; url?: string | undefined; platformProviders?: Provider[] | undefined; }): Promise<string>;
  
  
Jump to details