-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.module.ts
24 lines (22 loc) · 931 Bytes
/
app.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { NgModule } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterModule as ngRouterModule } from '@angular/router';
import { BootstrapComponent, CoreModule, RouterModule } from '@c8y/ngx-components';
import { CockpitDashboardModule } from '@c8y/ngx-components/context-dashboard';
import { BsModalRef } from 'ngx-bootstrap/modal';
import { FavoritesManagerModule } from './modules/favorites-manager/favorites-manager.module';
// Translations
import './locales/de.po'; // <- adding additional strings to the german translation.
@NgModule({
imports: [
BrowserAnimationsModule,
ngRouterModule.forRoot([], { enableTracing: false, useHash: true }),
RouterModule.forRoot(),
CoreModule.forRoot(),
FavoritesManagerModule,
CockpitDashboardModule
],
providers: [BsModalRef],
bootstrap: [BootstrapComponent]
})
export class AppModule {}