1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/frontend/main.ts

12 lines
361 B
TypeScript
Raw Normal View History

2018-05-08 03:42:32 +08:00
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {enableProdMode} from '@angular/core';
import {environment} from './environments/environment';
import {AppModule} from './app/app.module';
2016-03-13 01:11:19 +08:00
if (environment.production) {
enableProdMode();
}
2016-12-27 06:36:38 +08:00
platformBrowserDynamic().bootstrapModule(AppModule).catch(err => console.error(err));
2016-05-04 23:20:21 +08:00