frontend/src/app/app.module.ts

38 lines
1.2 KiB
TypeScript
Raw Normal View History

2020-02-08 22:33:31 +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 22:33:31 +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 22:33:31 +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';
import {AgGridModule} from 'ag-grid-angular';
2020-02-09 08:07:31 +00:00
import {MonacoEditorModule} from 'ngx-monaco-editor';
2020-02-08 02:01:00 +00:00
@NgModule({
declarations: [AppComponent],
entryComponents: [],
imports: [
BrowserModule,
IonicModule.forRoot(),
AppRoutingModule,
HttpClientModule,
2020-02-08 09:36:14 +00:00
ComponentsModule,
2020-02-08 22:33:31 +00:00
TreeModule.forRoot(),
AgGridModule.withComponents([]),
2020-02-09 08:07:31 +00:00
MonacoEditorModule.forRoot(),
2020-02-08 02:01:00 +00:00
],
providers: [
StatusBar,
SplashScreen,
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }
],
bootstrap: [AppComponent]
})
export class AppModule {}