|
|
|
@ -9,15 +9,12 @@ import { ThemeSharedModule } from '@abp/ng.theme.shared'; |
|
|
|
import { NgModule } from '@angular/core'; |
|
|
|
import { BrowserModule } from '@angular/platform-browser'; |
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; |
|
|
|
import { NgxsLoggerPluginModule } from '@ngxs/logger-plugin'; |
|
|
|
import { NgxsModule } from '@ngxs/store'; |
|
|
|
import { environment } from '../environments/environment'; |
|
|
|
import { AppRoutingModule } from './app-routing.module'; |
|
|
|
import { AppComponent } from './app.component'; |
|
|
|
import { APP_ROUTE_PROVIDER } from './route.provider'; |
|
|
|
|
|
|
|
const INSPECTION_TOOLS = [NgxsLoggerPluginModule.forRoot({ disabled: true })]; |
|
|
|
|
|
|
|
@NgModule({ |
|
|
|
imports: [ |
|
|
|
BrowserModule, |
|
|
|
@ -36,7 +33,6 @@ const INSPECTION_TOOLS = [NgxsLoggerPluginModule.forRoot({ disabled: true })]; |
|
|
|
SettingManagementConfigModule.forRoot(), |
|
|
|
NgxsModule.forRoot(), |
|
|
|
ThemeBasicModule.forRoot(), |
|
|
|
...(environment.production || environment.test ? [] : INSPECTION_TOOLS), |
|
|
|
], |
|
|
|
providers: [APP_ROUTE_PROVIDER], |
|
|
|
declarations: [AppComponent], |
|
|
|
|