angular-docs-cn/public/docs/_examples/server-communication/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);