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.
41 lines
1.5 KiB
41 lines
1.5 KiB
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 { MatButtonModule } from '@angular/material/button'; |
|
import { MatCheckboxModule } from '@angular/material/checkbox'; |
|
import { MatIconModule } from '@angular/material/icon'; |
|
import { MatSidenavModule } from '@angular/material/sidenav'; |
|
import { NavigationModule } from './navigation/navigation.module'; |
|
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 { TreeService } from './service/tree.service' |
|
import { CookieService } from 'ngx-cookie-service';//cookie插件 |
|
import { CountdownModule } from 'ngx-countdown'; //倒计时插件 |
|
|
|
@NgModule({ |
|
declarations: [ |
|
AppComponent, |
|
], |
|
imports: [ |
|
BrowserModule, |
|
AppRoutingModule, |
|
BrowserAnimationsModule, |
|
MatButtonModule, |
|
MatCheckboxModule, |
|
MatSidenavModule, |
|
NavigationModule, |
|
MatIconModule, |
|
PagesModule, |
|
FormsModule, |
|
HttpClientModule, |
|
CountdownModule |
|
], |
|
providers: [httpInterceptorProviders, CacheTokenService, TreeService, CookieService], |
|
bootstrap: [AppComponent] |
|
}) |
|
export class AppModule { }
|
|
|