Skip to content

Commit a19d597

Browse files
dotansimhadarkbasic
authored andcommitted
Step 2.5: Add chats page to the NgModule
1 parent feb7119 commit a19d597

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/app/app.module.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,23 @@ import { ErrorHandler, NgModule } from '@angular/core';
33
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
44
import { SplashScreen } from '@ionic-native/splash-screen';
55
import { StatusBar } from '@ionic-native/status-bar';
6+
import { ChatsPage } from '../pages/chats/chats';
67

78
import { MyApp } from './app.component';
89

910
@NgModule({
1011
declarations: [
11-
MyApp
12+
MyApp,
13+
ChatsPage
1214
],
1315
imports: [
1416
BrowserModule,
1517
IonicModule.forRoot(MyApp)
1618
],
1719
bootstrap: [IonicApp],
1820
entryComponents: [
19-
MyApp
21+
MyApp,
22+
ChatsPage
2023
],
2124
providers: [
2225
StatusBar,

0 commit comments

Comments
 (0)