gpt4 book ai didi

angular - ionic CLI 启动 : starterkit v3?

转载 作者:太空狗 更新时间:2023-10-29 18:30:42 25 4
gpt4 key购买 nike

使用命令 ionic start myapp tabs。我们从版本 2 中检索 starterkit。但我想启动一个应用程序 Ionic v3。 Ionic CLI 不是最新的?与其他命令一样:ionic generate ??

最佳答案

此 CLI 运行良好。

ionic start myapp tabs

您可以在您的 package.json 文件中看到它,如下所示。"ionic-angular": "3.6.0", 表示 Ionic 3 应用与 Angular 4+。没有问题。

{
"name": "MediaApp",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.1.3",
"@angular/compiler": "4.1.3",
"@angular/compiler-cli": "4.1.3",
"@angular/core": "4.1.3",
"@angular/forms": "4.1.3",
"@angular/http": "4.1.3",
"@angular/platform-browser": "4.1.3",
"@angular/platform-browser-dynamic": "4.1.3",
"@ionic-native/core": "3.12.1",
"@ionic-native/splash-screen": "3.12.1",
"@ionic-native/status-bar": "3.12.1",
"@ionic/storage": "2.0.1",
"ionic-angular": "3.6.0",
"ionicons": "3.0.0",
"rxjs": "5.4.0",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.12"
},
"devDependencies": {
"@ionic/app-scripts": "2.1.3",
"typescript": "2.3.4"
},
"description": "An Ionic project"
}

关于angular - ionic CLI 启动 : starterkit v3?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45942287/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com