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.
API
Usage Notes
function bootstrapApplication( rootComponent: Type<unknown>, options?: ApplicationConfig | undefined): Promise<ApplicationRef>;
bootstrapApplication
Promise<ApplicationRef>
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.
@paramoptions
ApplicationConfig | undefined
Extra configuration for the bootstrap operation, see ApplicationConfig
for
additional info.
@returns
Promise<ApplicationRef>
Jump to details