import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { HttpClientModule } from '@angular/common/http'; import { ServiceWorkerModule } from '@angular/service-worker'; import { TranslateModule } from '@ngx-translate/core'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { environment } from '@env/environment'; import { CoreModule } from '@app/core'; import { SharedModule } from '@app/shared'; // import { HomeModule } from './home/home.module'; import { ShellModule } from './shell/shell.module'; import { AppComponent } from './app.component'; import { AppRoutingModule } from './app-routing.module'; import { ChartComponent } from './chart/chart.component'; @NgModule({ imports: [ BrowserModule, ServiceWorkerModule.register('./ngsw-worker.js', { enabled: environment.production }), FormsModule, HttpClientModule, TranslateModule.forRoot(), NgbModule, CoreModule, SharedModule, ShellModule, // HomeModule, AppRoutingModule // must be imported as the last module as it contains the fallback route ], declarations: [AppComponent], providers: [], bootstrap: [AppComponent] }) export class AppModule {}