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.
44 lines
1.6 KiB
44 lines
1.6 KiB
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 { environment } from '../environments/environment';
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
import { AppComponent } from './app.component';
|
|
import { SharedModule } from './shared/shared.module';
|
|
import { BooksState } from './store/states/books.state';
|
|
|
|
const LOGGERS = [NgxsLoggerPluginModule.forRoot({ disabled: false })];
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CoreModule.forRoot({
|
|
environment,
|
|
requirements: {
|
|
layouts: LAYOUTS,
|
|
},
|
|
}),
|
|
ThemeSharedModule.forRoot(),
|
|
AccountConfigModule.forRoot({ redirectUrl: '/' }),
|
|
IdentityConfigModule,
|
|
TenantManagementConfigModule,
|
|
SettingManagementConfigModule,
|
|
NgxsModule.forRoot([BooksState]),
|
|
BrowserModule,
|
|
BrowserAnimationsModule,
|
|
AppRoutingModule,
|
|
SharedModule,
|
|
...(environment.production ? [] : LOGGERS),
|
|
],
|
|
declarations: [AppComponent],
|
|
bootstrap: [AppComponent],
|
|
})
|
|
export class AppModule {}
|
|
|