|
|
|
@ -1,38 +1,22 @@ |
|
|
|
import { provideAccountConfig } from '@abp/ng.account/config'; |
|
|
|
import { CoreModule, provideAbpCore, withOptions } from '@abp/ng.core'; |
|
|
|
import {ApplicationConfig, importProvidersFrom} from '@angular/core'; |
|
|
|
import {provideAnimations} from "@angular/platform-browser/animations"; |
|
|
|
|
|
|
|
import { appRoutes } from './app.routes'; |
|
|
|
import { APP_ROUTE_PROVIDER } from './route.provider'; |
|
|
|
import { provideAbpCore, withOptions } from '@abp/ng.core'; |
|
|
|
import { environment } from '../environments/environment'; |
|
|
|
import { registerLocale } from '@abp/ng.core/locale'; |
|
|
|
import { provideIdentityConfig } from '@abp/ng.identity/config'; |
|
|
|
import { provideAbpOAuth } from '@abp/ng.oauth'; |
|
|
|
import { provideAbpThemeShared } from '@abp/ng.theme.shared'; |
|
|
|
import { provideSettingManagementConfig } from '@abp/ng.setting-management/config'; |
|
|
|
import { provideAccountConfig } from '@abp/ng.account/config'; |
|
|
|
import { provideIdentityConfig } from '@abp/ng.identity/config'; |
|
|
|
import { provideTenantManagementConfig } from '@abp/ng.tenant-management/config'; |
|
|
|
import { ThemeLeptonXModule } from '@abp/ng.theme.lepton-x'; |
|
|
|
import { SideMenuLayoutModule } from '@abp/ng.theme.lepton-x/layouts'; |
|
|
|
import { |
|
|
|
InternetConnectionStatusComponent, |
|
|
|
ThemeSharedModule, |
|
|
|
provideAbpThemeShared, |
|
|
|
} from '@abp/ng.theme.shared'; |
|
|
|
import { provideFeatureManagementConfig } from '@abp/ng.feature-management'; |
|
|
|
import { provideAbpOAuth } from '@abp/ng.oauth'; |
|
|
|
import { NgModule } from '@angular/core'; |
|
|
|
import { BrowserModule } from '@angular/platform-browser'; |
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; |
|
|
|
import { environment } from '../environments/environment'; |
|
|
|
import { AppRoutingModule } from './app-routing.module'; |
|
|
|
import { AppComponent } from './app.component'; |
|
|
|
import { APP_ROUTE_PROVIDER } from './route.provider'; |
|
|
|
import {ThemeLeptonXModule} from "@abp/ng.theme.lepton-x"; |
|
|
|
import {SideMenuLayoutModule} from "@abp/ng.theme.lepton-x/layouts"; |
|
|
|
|
|
|
|
@NgModule({ |
|
|
|
imports: [ |
|
|
|
BrowserModule, |
|
|
|
BrowserAnimationsModule, |
|
|
|
AppRoutingModule, |
|
|
|
CoreModule, |
|
|
|
ThemeSharedModule, |
|
|
|
ThemeLeptonXModule.forRoot(), |
|
|
|
SideMenuLayoutModule.forRoot(), |
|
|
|
InternetConnectionStatusComponent, |
|
|
|
], |
|
|
|
declarations: [AppComponent], |
|
|
|
export const appConfig: ApplicationConfig = { |
|
|
|
providers: [ |
|
|
|
APP_ROUTE_PROVIDER, |
|
|
|
provideAbpCore( |
|
|
|
@ -48,7 +32,10 @@ import { APP_ROUTE_PROVIDER } from './route.provider'; |
|
|
|
provideIdentityConfig(), |
|
|
|
provideTenantManagementConfig(), |
|
|
|
provideFeatureManagementConfig(), |
|
|
|
provideAnimations(), |
|
|
|
importProvidersFrom([ |
|
|
|
ThemeLeptonXModule.forRoot(), |
|
|
|
SideMenuLayoutModule.forRoot(), |
|
|
|
]) |
|
|
|
], |
|
|
|
bootstrap: [AppComponent], |
|
|
|
}) |
|
|
|
export class AppModule {} |
|
|
|
}; |