@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; url?: string; platformProviders?: Provider[]; }): Promise<string>;
  
  
Jump to details