Skip to content

Commit

Permalink
Step 23.25: Update the module imports and entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Dec 14, 2016
1 parent c1d8cae commit 6b4e250
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/imports/app/app.module.ts
Expand Up @@ -16,12 +16,14 @@ import { FileDropModule } from "angular2-file-drop";
import { MOBILE_DECLARATIONS } from "./mobile/index";
import { AppMobileComponent } from "./mobile/app.component.mobile";
import { IonicModule, IonicApp } from "ionic-angular";
import { PartiesListMobileComponent } from "./mobile/parties-list.component.mobile";

let moduleDefinition;

if (Meteor.isCordova) {
moduleDefinition = {
imports: [
Ng2PaginationModule,
IonicModule.forRoot(AppMobileComponent)
],
declarations: [
Expand All @@ -34,7 +36,7 @@ if (Meteor.isCordova) {
IonicApp
],
entryComponents: [
AppMobileComponent
PartiesListMobileComponent
]
}
}
Expand Down

0 comments on commit 6b4e250

Please sign in to comment.