Initial commit
This commit is contained in:
40
src/app/app.module.ts
Normal file
40
src/app/app.module.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import { NgModule, ErrorHandler } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
|
||||
import { MyApp } from './app.component';
|
||||
|
||||
import { AboutPage } from '../pages/about/about';
|
||||
import { ContactPage } from '../pages/contact/contact';
|
||||
import { HomePage } from '../pages/home/home';
|
||||
import { TabsPage } from '../pages/tabs/tabs';
|
||||
|
||||
import { StatusBar } from '@ionic-native/status-bar';
|
||||
import { SplashScreen } from '@ionic-native/splash-screen';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
MyApp,
|
||||
AboutPage,
|
||||
ContactPage,
|
||||
HomePage,
|
||||
TabsPage
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
IonicModule.forRoot(MyApp)
|
||||
],
|
||||
bootstrap: [IonicApp],
|
||||
entryComponents: [
|
||||
MyApp,
|
||||
AboutPage,
|
||||
ContactPage,
|
||||
HomePage,
|
||||
TabsPage
|
||||
],
|
||||
providers: [
|
||||
StatusBar,
|
||||
SplashScreen,
|
||||
{provide: ErrorHandler, useClass: IonicErrorHandler}
|
||||
]
|
||||
})
|
||||
export class AppModule {}
|
||||
Reference in New Issue
Block a user