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

7 lines
223 B
TypeScript

// #docregion bootstrap
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app.module';
platformBrowserDynamic().bootstrapModule(AppModule);
// #enddocregion bootstrap