2017-04-06 73 views

回答

1

不確定你的意思,但我懷疑你想降級你的Ionic框架版本?如果是這樣,您只需要將您的package.json更新爲"ionic-angular": "2.3.0"即可。以下是我的package.json文件在最新版本v2上運行的摘錄:

"@angular/common": "2.4.8", "@angular/compiler": "2.4.8", "@angular/compiler-cli": "2.4.8", "@angular/core": "2.4.8", "@angular/forms": "2.4.8", "@angular/http": "2.4.8", "@angular/platform-browser": "2.4.8", "@angular/platform-browser-dynamic": "2.4.8", "@angular/platform-server": "2.4.8", "@ionic-native/core": "3.4.4", "@ionic-native/device": "3.4.4", "@ionic-native/in-app-browser": "3.4.4", "@ionic-native/local-notifications": "3.4.4", "@ionic-native/splash-screen": "3.4.4", "@ionic-native/status-bar": "3.4.4", "@ionic/storage": "2.0.0", "ionic-angular": "2.3.0"