|
|
|
@ -1,22 +1,24 @@ |
|
|
|
import { AccountConfigModule } from '@abp/ng.account.config'; |
|
|
|
import { CoreModule } from '@abp/ng.core'; |
|
|
|
import { IdentityConfigModule } from '@abp/ng.identity.config'; |
|
|
|
import { SettingManagementConfigModule } from '@abp/ng.setting-management.config'; |
|
|
|
import { TenantManagementConfigModule } from '@abp/ng.tenant-management.config'; |
|
|
|
import { LAYOUTS } from '@abp/ng.theme.basic'; |
|
|
|
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 { NgxsReduxDevtoolsPluginModule } from '@ngxs/devtools-plugin'; |
|
|
|
import { NgxsLoggerPluginModule } from '@ngxs/logger-plugin'; |
|
|
|
import { NgxsModule } from '@ngxs/store'; |
|
|
|
import { OAuthModule } from 'angular-oauth2-oidc'; |
|
|
|
import { environment } from '../environments/environment'; |
|
|
|
import { AppRoutingModule } from './app-routing.module'; |
|
|
|
import { AppComponent } from './app.component'; |
|
|
|
import { SharedModule } from './shared/shared.module'; |
|
|
|
import { ThemeSharedModule } from '@abp/ng.theme.shared'; |
|
|
|
import { AccountConfigModule } from '@abp/ng.account.config'; |
|
|
|
import { IdentityConfigModule } from '@abp/ng.identity.config'; |
|
|
|
import { TenantManagementConfigModule } from '@abp/ng.tenant-management.config'; |
|
|
|
import { SettingManagementConfigModule } from '@abp/ng.setting-management.config'; |
|
|
|
import { MyProjectNameConfigModule } from '../../projects/my-project-name-config/src/public-api'; |
|
|
|
|
|
|
|
const LOGGERS = [NgxsLoggerPluginModule.forRoot({ disabled: false })]; |
|
|
|
|
|
|
|
@NgModule({ |
|
|
|
declarations: [AppComponent], |
|
|
|
imports: [ |
|
|
|
@ -39,7 +41,7 @@ import { MyProjectNameConfigModule } from '../../projects/my-project-name-config |
|
|
|
AppRoutingModule, |
|
|
|
SharedModule, |
|
|
|
|
|
|
|
NgxsReduxDevtoolsPluginModule.forRoot({ disabled: environment.production }), |
|
|
|
...(environment.production ? [] : LOGGERS), |
|
|
|
], |
|
|
|
bootstrap: [AppComponent], |
|
|
|
}) |
|
|
|
|