angular-cn/public/docs/_examples/attribute-directives/ts/app/main.ts

6 lines
186 B
TypeScript

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