• Overview
@angular/platform-browser

bootstrapApplication

function

Bootstraps an instance of an Angular application and renders a standalone component as the application's root component. More information about standalone components can be found in this guide.

  
    function bootstrapApplication(  rootComponent: Type<unknown>,  options?: ApplicationConfig | undefined): Promise<ApplicationRef>;
  
  

bootstrapApplication

Bootstraps an instance of an Angular application and renders a standalone component as the application's root component. More information about standalone components can be found in this guide.

@paramrootComponentType<unknown>

A reference to a standalone component that should be rendered.

@paramoptionsApplicationConfig | undefined

Extra configuration for the bootstrap operation, see ApplicationConfig for additional info.

@returnsPromise<ApplicationRef>
Jump to details