angular-docs-cn/aio/content/examples/upgrade-phonecat-2-hybrid/app/main-aot.ts

7 lines
200 B
TypeScript

// #docregion
import { platformBrowser } from '@angular/platform-browser';
import { AppModuleNgFactory } from './app.module.ngfactory';
platformBrowser().bootstrapModuleFactory(AppModuleNgFactory);