我用
创建了一个项目ionic start navigationAppv2 blank --v2
但是当我使用离子信息时说:
Ionic Framework版本:3.0.0
我该如何解决这个问题?
答案 0 :(得分:1)
不确定你的意思,但我怀疑你想降级你的Ionic框架版本?如果是这样,您只需要将package.json
更新为"ionic-angular": "2.3.0"
。以下是在最新v2版本上运行的package.json
文件的摘录:
"@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"