@yairneuamnn11 wrote:
when the blank template is created Ionic is imported from: 'ionic-framework/ionic'
In all the tutorials Ionic is imported from: 'ionic/ionic';I am running Ionic version 2.0.0-beta.17
Another thing that happens is that in the constructor of any of the pages in the app once I put the following syntax:
constructor(app: IonicApp, platform: Platform) {}
I get the following error in the CLI:
Unexpected token (14:17)
12 | }
13 |14 | constructor(app: IonicApp, platform: Platform) {
| ^
15 |
16 | // set up our app
17 | this.app = app;Any ideas?
Posts: 3
Participants: 2