You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
495 B

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