1
|
import {NgModule} from '@angular/core';
|
2
|
import {BrowserModule} from '@angular/platform-browser';
|
3
|
|
4
|
import {AppRoutingModule} from './app-routing.module';
|
5
|
import {AppComponent} from './app.component';
|
6
|
import {NavBarModule} from './shared/nav-bar/nav-bar.module';
|
7
|
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
8
|
import {HttpClientModule} from '@angular/common/http';
|
9
|
import {AuthModule} from './auth/auth.module';
|
10
|
import {LoginModule} from './login/login.module';
|
11
|
import {DashboardModule} from './dashboard/dashboard.module';
|
12
|
import {AdministrationModule} from './administration/administration.module';
|
13
|
import {SensorModule} from './sensor/sensor.module';
|
14
|
import {FontAwesomeModule} from '@fortawesome/angular-fontawesome';
|
15
|
import {UnitModule} from './unit/unit.module';
|
16
|
import {ConfirmationService, MessageService} from 'primeng/api';
|
17
|
import {ToastModule} from 'primeng/toast';
|
18
|
|
19
|
@NgModule({
|
20
|
declarations: [
|
21
|
AppComponent
|
22
|
],
|
23
|
imports: [
|
24
|
BrowserModule,
|
25
|
BrowserAnimationsModule,
|
26
|
AppRoutingModule,
|
27
|
HttpClientModule,
|
28
|
NavBarModule,
|
29
|
AuthModule,
|
30
|
LoginModule,
|
31
|
DashboardModule,
|
32
|
AdministrationModule,
|
33
|
SensorModule,
|
34
|
FontAwesomeModule,
|
35
|
UnitModule,
|
36
|
ToastModule
|
37
|
],
|
38
|
providers: [
|
39
|
ConfirmationService,
|
40
|
MessageService,
|
41
|
],
|
42
|
bootstrap: [AppComponent]
|
43
|
})
|
44
|
export class AppModule {
|
45
|
}
|