|
|
|
@ -1,21 +1,20 @@ |
|
|
|
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 { 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 { MyProjectNameConfigModule } from '../../projects/my-project-name-config/src/public-api'; |
|
|
|
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 { 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 { 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 { MyProjectNameConfigModule } from "../../projects/my-project-name-config/src/public-api"; |
|
|
|
|
|
|
|
const LOGGERS = [NgxsLoggerPluginModule.forRoot({ disabled: false })]; |
|
|
|
|
|
|
|
@ -24,14 +23,11 @@ const LOGGERS = [NgxsLoggerPluginModule.forRoot({ disabled: false })]; |
|
|
|
imports: [ |
|
|
|
ThemeSharedModule.forRoot(), |
|
|
|
CoreModule.forRoot({ |
|
|
|
environment, |
|
|
|
requirements: { |
|
|
|
layouts: LAYOUTS, |
|
|
|
}, |
|
|
|
environment |
|
|
|
}), |
|
|
|
OAuthModule.forRoot(), |
|
|
|
NgxsModule.forRoot([]), |
|
|
|
AccountConfigModule.forRoot({ redirectUrl: '/' }), |
|
|
|
AccountConfigModule.forRoot({ redirectUrl: "/" }), |
|
|
|
IdentityConfigModule, |
|
|
|
TenantManagementConfigModule, |
|
|
|
SettingManagementConfigModule, |
|
|
|
@ -41,8 +37,8 @@ const LOGGERS = [NgxsLoggerPluginModule.forRoot({ disabled: false })]; |
|
|
|
AppRoutingModule, |
|
|
|
SharedModule, |
|
|
|
|
|
|
|
...(environment.production ? [] : LOGGERS), |
|
|
|
...(environment.production ? [] : LOGGERS) |
|
|
|
], |
|
|
|
bootstrap: [AppComponent], |
|
|
|
bootstrap: [AppComponent] |
|
|
|
}) |
|
|
|
export class AppModule {} |
|
|
|
|