|
|
|
@ -1,33 +1,24 @@ |
|
|
|
import { provideAccountConfig } from '@abp/ng.account/config'; |
|
|
|
import { CoreModule, provideAbpCore, withOptions } from '@abp/ng.core'; |
|
|
|
import {ApplicationConfig} from '@angular/core'; |
|
|
|
import {provideAnimations} from "@angular/platform-browser/animations"; |
|
|
|
import {provideRouter} from "@angular/router"; |
|
|
|
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 { ThemeBasicModule, provideThemeBasicConfig } from '@abp/ng.theme.basic'; |
|
|
|
import { 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 { MyProjectNameConfigModule } from '@my-company-name/my-project-name/config'; |
|
|
|
import { environment } from '../environments/environment'; |
|
|
|
import { AppRoutingModule } from './app-routing.module'; |
|
|
|
import { AppComponent } from './app.component'; |
|
|
|
import { APP_ROUTE_PROVIDER } from './route.provider'; |
|
|
|
import {provideThemeBasicConfig} from "@abp/ng.theme.basic"; |
|
|
|
import {provideMyProjectNameConfig} from "@my-company-name/my-project-name/config"; |
|
|
|
|
|
|
|
@NgModule({ |
|
|
|
imports: [ |
|
|
|
BrowserModule, |
|
|
|
BrowserAnimationsModule, |
|
|
|
AppRoutingModule, |
|
|
|
CoreModule, |
|
|
|
ThemeSharedModule, |
|
|
|
MyProjectNameConfigModule.forRoot(), |
|
|
|
ThemeBasicModule, |
|
|
|
], |
|
|
|
export const appConfig: ApplicationConfig = { |
|
|
|
providers: [ |
|
|
|
provideRouter(appRoutes), |
|
|
|
APP_ROUTE_PROVIDER, |
|
|
|
provideAbpCore( |
|
|
|
withOptions({ |
|
|
|
@ -44,9 +35,8 @@ import { APP_ROUTE_PROVIDER } from './route.provider'; |
|
|
|
provideIdentityConfig(), |
|
|
|
provideTenantManagementConfig(), |
|
|
|
provideFeatureManagementConfig(), |
|
|
|
provideAnimations(), |
|
|
|
provideThemeBasicConfig(), |
|
|
|
provideMyProjectNameConfig(), |
|
|
|
], |
|
|
|
declarations: [AppComponent], |
|
|
|
bootstrap: [AppComponent], |
|
|
|
}) |
|
|
|
export class AppModule {} |
|
|
|
}; |