Module order in App module.

This commit is contained in:
Alexis Lahouze 2017-08-01 23:14:56 +02:00
parent 17754f9a88
commit a1d71b92d5

View File

@ -25,12 +25,6 @@ import { ApiBaseURL, LogLevel } from './app.config';
imports: [ imports: [
BrowserModule, BrowserModule,
BrowserAnimationsModule, BrowserAnimationsModule,
AccountModule,
ScheduleModule,
OperationModule,
NgLoggerModule.forRoot(LogLevel),
ToastrModule.forRoot(),
NgbModule.forRoot(),
RouterModule.forRoot([ RouterModule.forRoot([
{ {
path: '', path: '',
@ -40,7 +34,13 @@ import { ApiBaseURL, LogLevel } from './app.config';
], { ], {
enableTracing: true, enableTracing: true,
useHash: true useHash: true
}) }),
NgLoggerModule.forRoot(LogLevel),
ToastrModule.forRoot(),
NgbModule.forRoot(),
AccountModule,
ScheduleModule,
OperationModule,
], ],
declarations: [ declarations: [
AppComponent AppComponent