mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.7 KiB
46 lines
1.7 KiB
import { CoreModule } from '@abp/ng.core';
|
|
import { LAYOUTS } from '@abp/ng.theme.basic';
|
|
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 { 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';
|
|
|
|
@NgModule({
|
|
declarations: [AppComponent],
|
|
imports: [
|
|
ThemeSharedModule.forRoot(),
|
|
CoreModule.forRoot({
|
|
environment,
|
|
requirements: {
|
|
layouts: LAYOUTS,
|
|
},
|
|
}),
|
|
OAuthModule.forRoot(),
|
|
NgxsModule.forRoot([]),
|
|
AccountConfigModule.forRoot({ redirectUrl: '/' }),
|
|
IdentityConfigModule,
|
|
TenantManagementConfigModule,
|
|
SettingManagementConfigModule,
|
|
MyProjectNameConfigModule,
|
|
BrowserModule,
|
|
BrowserAnimationsModule,
|
|
AppRoutingModule,
|
|
SharedModule,
|
|
|
|
NgxsReduxDevtoolsPluginModule.forRoot({ disabled: environment.production }),
|
|
],
|
|
bootstrap: [AppComponent],
|
|
})
|
|
export class AppModule {}
|
|
|