API
interface CommonEngineRenderOptions {
bootstrap?: Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>) | undefined;
providers?: StaticProvider[] | undefined;
url?: string | undefined;
document?: string | undefined;
documentFilePath?: string | undefined;
inlineCriticalCss?: boolean | undefined;
publicPath?: string | undefined;
}
bootstrap
Type<{}> | ((context: BootstrapContext) => Promise<ApplicationRef>) | undefinedA method that when invoked returns a promise that returns an ApplicationRef instance once resolved or an NgModule.
providers
StaticProvider[] | undefinedA set of platform level providers for the current request.
url
string | undefineddocument
string | undefineddocumentFilePath
string | undefinedinlineCriticalCss
boolean | undefinedReduce render blocking requests by inlining critical CSS. Defaults to true.
publicPath
string | undefinedBase path location of index file. Defaults to the 'documentFilePath' dirname when not provided.