angular-cn/modules/@angular/examples/_common/main-dynamic.ts

13 lines
401 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import * as module from './module';
if (module.AppModule) {
platformBrowserDynamic().bootstrapModule(module.AppModule);
}