|
@@ -1,18 +1,19 @@
|
|
|
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
|
|
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
|
|
|
import { provideRouter } from '@angular/router';
|
|
import { provideRouter } from '@angular/router';
|
|
|
-import { NgxsModule } from '@ngxs/store';
|
|
|
|
|
import { routes } from './app.routes';
|
|
import { routes } from './app.routes';
|
|
|
-import { UIState } from 'angularlib/ui.state/ui.state';
|
|
|
|
|
-import { DPCommService } from 'dp-ui/dp.comm';
|
|
|
|
|
import { provideHttpClient, withFetch } from '@angular/common/http';
|
|
import { provideHttpClient, withFetch } from '@angular/common/http';
|
|
|
|
|
+import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
|
+import { DpModule } from 'dp-ui/dp.module';
|
|
|
|
|
+import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
|
+import { NgxsStoragePluginModule } from '@ngxs/storage-plugin';
|
|
|
|
|
|
|
|
export const appConfig: ApplicationConfig = {
|
|
export const appConfig: ApplicationConfig = {
|
|
|
providers: [
|
|
providers: [
|
|
|
provideRouter(routes),
|
|
provideRouter(routes),
|
|
|
- importProvidersFrom(
|
|
|
|
|
- NgxsModule.forRoot([UIState])
|
|
|
|
|
- ),
|
|
|
|
|
- DPCommService,
|
|
|
|
|
|
|
+ importProvidersFrom(BrowserModule),
|
|
|
|
|
+ importProvidersFrom(DpModule),
|
|
|
|
|
+ importProvidersFrom(BrowserAnimationsModule),
|
|
|
|
|
+ importProvidersFrom(NgxsStoragePluginModule.forRoot()),
|
|
|
provideHttpClient()
|
|
provideHttpClient()
|
|
|
]
|
|
]
|
|
|
};
|
|
};
|