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

7 lines
209 B
TypeScript

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