import 'chartjs-adapter-moment'; import { CommonModule, HashLocationStrategy, LocationStrategy } from '@angular/common'; import { NgModule } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; import { NgParticlesModule } from 'ng-particles'; import { PrimeNGModule } from '../prime-ng.module'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { BackgroundParticlesComponent } from './components/background-particles/background-particles.component'; import { DashboardComponent } from './components/dashboard/dashboard.component'; import { SplashComponent } from './components/splash/splash.component'; import { WorkerGroupComponent } from './components/worker-group/worker-group.component'; import { WorkerComponent } from './components/worker/worker.component'; import { AppLayoutModule } from './layout/app.layout.module'; import { DateAgoPipe } from './pipes/date-ago.pipe'; import { HashSuffixPipe } from './pipes/hash-suffix.pipe'; import { NumberSuffixPipe } from './pipes/number-suffix.pipe'; import { SettingsComponent } from './components/settings/settings.component'; import { UserAgentPipe } from './pipes/user-agent.pipe'; @NgModule({ declarations: [ AppComponent, SplashComponent, DashboardComponent, WorkerComponent, NumberSuffixPipe, DateAgoPipe, WorkerGroupComponent, BackgroundParticlesComponent, HashSuffixPipe, SettingsComponent, UserAgentPipe ], imports: [ CommonModule, BrowserModule, AppRoutingModule, PrimeNGModule, AppLayoutModule, FormsModule, ReactiveFormsModule, NgParticlesModule ], providers: [ { provide: LocationStrategy, useClass: HashLocationStrategy }, ], bootstrap: [AppComponent] }) export class AppModule { }