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.
36 lines
1.4 KiB
36 lines
1.4 KiB
3 years ago
|
import { BrowserModule } from '@angular/platform-browser';
|
||
|
import { NgModule } from '@angular/core';
|
||
|
import { AppRoutingModule } from './app-routing.module';
|
||
|
import { AppComponent } from './app.component';
|
||
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||
|
import { PagesModule } from './pages/pages.module';
|
||
|
import { FormsModule } from '@angular/forms';
|
||
|
import { HttpClientModule } from '@angular/common/http';
|
||
|
import { httpInterceptorProviders } from './http-interceptors/index'
|
||
|
import { CacheTokenService } from './service/cache-token.service'
|
||
|
import { NzNotificationModule } from 'ng-zorro-antd/notification';
|
||
|
import { NzMessageModule } from 'ng-zorro-antd/message';
|
||
|
import { TreeService } from './service/tree.service';
|
||
|
import { RouteReuseStrategy } from '@angular/router';
|
||
|
import { CustomReuseStrategy } from './CustomReuseStrategy';
|
||
|
import { ConfigFormDataService } from './service/configFormData.service';
|
||
|
@NgModule({
|
||
|
declarations: [
|
||
|
AppComponent
|
||
|
],
|
||
|
imports: [
|
||
|
BrowserModule,
|
||
|
AppRoutingModule,
|
||
|
BrowserAnimationsModule,
|
||
|
PagesModule,
|
||
|
FormsModule,
|
||
|
HttpClientModule,
|
||
|
NzNotificationModule,
|
||
|
NzMessageModule
|
||
|
],
|
||
|
providers: [httpInterceptorProviders, CacheTokenService, TreeService, ConfigFormDataService,
|
||
|
{ provide: RouteReuseStrategy, useClass: CustomReuseStrategy }],
|
||
|
bootstrap: [AppComponent]
|
||
|
})
|
||
|
export class AppModule { }
|