first commit
This commit is contained in:
+13
-1
@@ -1,5 +1,8 @@
|
||||
import { ApplicationConfig, provideBrowserGlobalErrorListeners, provideZonelessChangeDetection } from '@angular/core';
|
||||
import { provideRouter } from '@angular/router';
|
||||
import { provideAnimations } from '@angular/platform-browser/animations';
|
||||
import { provideHttpClient } from '@angular/common/http';
|
||||
import { TOAST_CONFIG, DefaultGlobalConfig } from 'ngx-toastr';
|
||||
|
||||
import { routes } from './app.routes';
|
||||
|
||||
@@ -7,6 +10,15 @@ export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
provideBrowserGlobalErrorListeners(),
|
||||
provideZonelessChangeDetection(),
|
||||
provideRouter(routes)
|
||||
provideRouter(routes),
|
||||
provideAnimations(),
|
||||
provideHttpClient(),
|
||||
{
|
||||
provide: TOAST_CONFIG,
|
||||
useValue: {
|
||||
default: DefaultGlobalConfig,
|
||||
config: {}
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user