You cannot 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.1 KiB
TypeScript
36 lines
1.1 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { RouteReuseStrategy } from '@angular/router';
|
|
import { HmgCommonModule } from './hmg-common/hmg-common.module';
|
|
import { IonicModule, IonicRouteStrategy } from '@ionic/angular';
|
|
import { SplashScreen } from '@ionic-native/splash-screen/ngx';
|
|
import { StatusBar } from '@ionic-native/status-bar/ngx';
|
|
|
|
import { AppComponent } from './app.component';
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
import { ZBar } from '@ionic-native/zbar/ngx';
|
|
import { Geolocation } from '@ionic-native/geolocation/ngx';
|
|
@NgModule({
|
|
declarations: [AppComponent],
|
|
entryComponents: [],
|
|
imports: [
|
|
BrowserModule,
|
|
BrowserAnimationsModule,
|
|
IonicModule.forRoot({
|
|
hardwareBackButton: true
|
|
}),
|
|
AppRoutingModule,
|
|
HmgCommonModule
|
|
],
|
|
providers: [
|
|
StatusBar,
|
|
SplashScreen,
|
|
ZBar,
|
|
Geolocation,
|
|
{ provide: RouteReuseStrategy, useClass: IonicRouteStrategy }
|
|
],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule {}
|