main.ts 370 B

123456789101112
  1. import { enableProdMode } from '@angular/core';
  2. import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
  3. import { AppModule } from './app/app.module';
  4. import { environment } from './environments/environment';
  5. if (environment.production) {
  6. enableProdMode();
  7. }
  8. platformBrowserDynamic().bootstrapModule(AppModule)
  9. .catch(err => console.log(err));