Browse Source

chore(template): reorder imports

pull/2079/head
mehmet-erim 7 years ago
parent
commit
cbabca30f6
  1. 1
      npm/ng-packs/apps/dev-app/src/app/app-routing.module.ts
  2. 7
      templates/app/angular/src/app/app.module.ts

1
npm/ng-packs/apps/dev-app/src/app/app-routing.module.ts

@ -9,6 +9,7 @@ const routes: Routes = [
data: {
routes: {
name: '::Menu:Home',
order: 1,
} as ABP.Route,
},
},

7
templates/app/angular/src/app/app.module.ts

@ -19,7 +19,6 @@ import { SettingManagementConfigModule } from '@abp/ng.setting-management.config
const LOGGERS = [NgxsLoggerPluginModule.forRoot({ disabled: false })];
@NgModule({
declarations: [AppComponent],
imports: [
CoreModule.forRoot({
environment,
@ -28,19 +27,19 @@ const LOGGERS = [NgxsLoggerPluginModule.forRoot({ disabled: false })];
},
}),
ThemeSharedModule.forRoot(),
OAuthModule.forRoot(),
NgxsModule.forRoot([]),
AccountConfigModule.forRoot({ redirectUrl: '/' }),
IdentityConfigModule,
TenantManagementConfigModule,
SettingManagementConfigModule,
OAuthModule.forRoot(),
NgxsModule.forRoot([]),
BrowserModule,
BrowserAnimationsModule,
AppRoutingModule,
SharedModule,
...(environment.production ? [] : LOGGERS),
],
declarations: [AppComponent],
bootstrap: [AppComponent],
})
export class AppModule {}

Loading…
Cancel
Save