angular-docs-cn/aio/content/examples/i18n/doc-files/main.1.ts

13 lines
350 B
TypeScript
Raw Normal View History

// #docregion
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule);