2020-02-08 18:07:54 +00:00
|
|
|
import { NgModule } from "@angular/core";
|
|
|
|
import { BrowserModule } from "@angular/platform-browser";
|
|
|
|
import { RouteReuseStrategy } from "@angular/router";
|
2020-02-08 02:01:00 +00:00
|
|
|
|
2020-02-08 18:07:54 +00:00
|
|
|
import { IonicModule, IonicRouteStrategy } from "@ionic/angular";
|
|
|
|
import { SplashScreen } from "@ionic-native/splash-screen/ngx";
|
|
|
|
import { StatusBar } from "@ionic-native/status-bar/ngx";
|
2020-02-08 02:01:00 +00:00
|
|
|
|
2020-02-08 18:07:54 +00:00
|
|
|
import { AppComponent } from "./app.component";
|
|
|
|
import { AppRoutingModule } from "./app-routing.module";
|
|
|
|
import { HttpClientModule } from "@angular/common/http";
|
|
|
|
import { ComponentsModule } from "./components/components.module";
|
|
|
|
import { TreeModule } from "angular-tree-component";
|
2020-02-08 02:01:00 +00:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
declarations: [AppComponent],
|
|
|
|
entryComponents: [],
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
IonicModule.forRoot(),
|
2020-02-08 04:19:35 +00:00
|
|
|
AppRoutingModule,
|
|
|
|
HttpClientModule,
|
2020-02-08 09:36:14 +00:00
|
|
|
ComponentsModule,
|
2020-02-08 18:07:54 +00:00
|
|
|
TreeModule.forRoot()
|
2020-02-08 02:01:00 +00:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
StatusBar,
|
|
|
|
SplashScreen,
|
|
|
|
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }
|
|
|
|
],
|
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
|
|
|
export class AppModule {}
|