-
Notifications
You must be signed in to change notification settings - Fork 200
/
Copy pathapp.module.ts
49 lines (46 loc) · 1.54 KB
/
app.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { MyApp } from './app.component';
// import { HomePage } from '../pages/home/home';
// import { Menu } from '../pages/menu/menu';
// import {ProductsByCategory} from '../pages/products-by-category/products-by-category';
// import { ProductDetails } from '../pages/product-details/product-details';
import { Cart } from '../pages/cart/cart';
import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';
// import { Signup } from '../pages/signup/signup';
// import { Login } from '../pages/login/login';
// import { Checkout } from '../pages/checkout/checkout';
import { HttpModule } from '@angular/http';
import { PayPal } from '@ionic-native/paypal';
// import { SearchPage } from '../pages/search/search';
import { IonicStorageModule } from '@ionic/storage';
import { OneSignal } from "@ionic-native/onesignal";
import { WoocommerceProvider } from '../providers/woocommerce/woocommerce';
@NgModule({
declarations: [
MyApp,
Cart
],
imports: [
BrowserModule,
HttpModule,
IonicModule.forRoot(MyApp),
IonicStorageModule.forRoot()
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
Cart
],
providers: [
StatusBar,
SplashScreen,
PayPal,
OneSignal,
{provide: ErrorHandler, useClass: IonicErrorHandler},
WoocommerceProvider
]
})
export class AppModule {}