小编Elk*_*ulo的帖子

用Angular 2运行Ionic 2

几天前,我开始玩Ionic 2和Angular 2,但现在当我运行" ionic start myProjectName blank --v2"时,它总是创建一个带有v3.0.1离子框架的新项目.即使我指定" --v2"它使用Ionic 3.0.1和Angular 4但我想使用带角度2的Ionic 2,因为我认为现在使用Ionic 3和Angular 4来制作网络应用程序还为时过早.

这是我的命令"$ ionic info"输出:

Your system information:

Cordova CLI: 6.5.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: macOS Sierra
Node Version: v6.10.0
Xcode version: Not installed
Run Code Online (Sandbox Code Playgroud)

和我的package.json依赖项块:

 "dependencies": {
    "@angular/common": "4.0.0",
    "@angular/compiler": "4.0.0",
    "@angular/compiler-cli": "4.0.0",
    "@angular/core": "4.0.0",
    "@angular/forms": "4.0.0",
    "@angular/http": "4.0.0",
    "@angular/platform-browser": "4.0.0",
    "@angular/platform-browser-dynamic": "4.0.0", …
Run Code Online (Sandbox Code Playgroud)

ionic-framework ionic2 angular

4
推荐指数
1
解决办法
746
查看次数

标签 统计

angular ×1

ionic-framework ×1

ionic2 ×1