2021-12-04 21:36:11 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
2021-12-22 23:06:58 +01:00
|
|
|
import { HttpClientModule, HttpClient } from '@angular/common/http';
|
2021-12-04 21:36:11 +01:00
|
|
|
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { ServiceWorkerModule } from '@angular/service-worker';
|
|
|
|
import { environment } from '../environments/environment';
|
|
|
|
|
2021-12-22 23:06:58 +01:00
|
|
|
import { TableComponent } from './table/table.component';
|
|
|
|
import { OwnerImageComponent } from './_components/owner-image/owner-image.component';
|
|
|
|
|
2021-12-04 21:36:11 +01:00
|
|
|
import { ListComponent } from './_components/list/list.component';
|
2021-12-22 23:06:58 +01:00
|
|
|
import { LogsComponent } from './_components/logs/logs.component';
|
|
|
|
import { ServicesComponent } from './_components/services/services.component';
|
|
|
|
import { TrainingsComponent } from './_components/trainings/trainings.component';
|
2021-12-04 21:36:11 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
2021-12-22 23:06:58 +01:00
|
|
|
TableComponent,
|
|
|
|
OwnerImageComponent,
|
|
|
|
//
|
|
|
|
ListComponent,
|
|
|
|
LogsComponent,
|
|
|
|
ServicesComponent,
|
|
|
|
TrainingsComponent
|
2021-12-04 21:36:11 +01:00
|
|
|
],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
AppRoutingModule,
|
2021-12-22 23:06:58 +01:00
|
|
|
HttpClientModule,
|
2021-12-04 21:36:11 +01:00
|
|
|
ServiceWorkerModule.register('ngsw-worker.js', {
|
2021-12-22 23:06:58 +01:00
|
|
|
enabled: false && environment.production,
|
2021-12-04 21:36:11 +01:00
|
|
|
// Register the ServiceWorker as soon as the app is stable
|
|
|
|
// or after 30 seconds (whichever comes first).
|
|
|
|
registrationStrategy: 'registerWhenStable:30000'
|
|
|
|
})
|
|
|
|
],
|
|
|
|
providers: [],
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
export class AppModule { }
|