mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 16:37:18 +08:00
35 lines
956 B
TypeScript
35 lines
956 B
TypeScript
import { BrowserModule } from '@angular/platform-browser';
|
|
import { NgModule } from '@angular/core';
|
|
import { RouteReuseStrategy } from '@angular/router';
|
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
import { HttpClientJsonpModule, HttpClientModule } from '@angular/common/http';
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
import { AppComponent } from './app.component';
|
|
import { SimpleReuseStrategy } from '../CX/services/SimpleReuseStrategy';
|
|
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
AppRoutingModule,
|
|
HttpClientModule,
|
|
BrowserAnimationsModule,
|
|
HttpClientJsonpModule,
|
|
ReactiveFormsModule,
|
|
FormsModule,
|
|
],
|
|
providers: [
|
|
{
|
|
provide: RouteReuseStrategy,
|
|
useClass: SimpleReuseStrategy
|
|
}
|
|
],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule { }
|