2016-09-29 5 views
0

私のionic 2を安定版に更新しました。安定版のionic 2にapp(不安定な構造)フォルダを使用する方法

イオン開始myProject空白--v2私はイオン性のようなフォルダ構造を得ています。フォルダstructureを見てください。

U後:ここ

はファイル

{ 
    "name": "ionic-hello-world", 
    "author": "Ionic Framework", 
    "homepage": "http://ionicframework.com/", 
    "private": true, 
    "scripts": { 
    "build": "ionic-app-scripts build", 
    "watch": "ionic-app-scripts watch", 
    "serve:before": "watch", 
    "emulate:before": "build", 
    "deploy:before": "build", 
    "build:before": "build", 
    "run:before": "build" 
    }, 
    "dependencies": { 
    "ionic-angular": "^2.0.0-rc.0", 
    "ionicons": "^3.0.0", 
    "@ionic/storage": "^1.0.3", 
    "ionic-native": "^2.0.3" 
    }, 
    "devDependencies": { 
    "@ionic/app-scripts": "^0.0.23", 
    "typescript": "^2.0.3" 
    }, 
    "description": "myProject: An Ionic project", 
    "cordovaPlugins": [ 
    "cordova-plugin-device", 
    "cordova-plugin-console", 
    "cordova-plugin-whitelist", 
    "cordova-plugin-splashscreen", 
    "cordova-plugin-statusbar", 
    "ionic-plugin-keyboard" 
    ], 
    "cordovaPlatforms": [] 
} 

質問私package.jsonここで私のイオン性情報コマンド結果

Cordova CLI: 6.3.0 
Ionic CLI Version: 2.1.0 
Ionic App Lib Version: 2.1.0-beta.1 
OS: Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS 
Node Version: v4.2.6 

です私のイオン2をpdatingし、私がのアプリケーションフォルダを見ることができない構造を見ると、プロジェクトを作成しようとします。なぜ ???

私はイオンを与える私はロードのindex.htmlファイルを取得しています信じて--labコマンドを提供しています。どうすれば私の不安定なアプリケーションフォルダを既存の(安定したバージョンの)更新プロジェクトにするか

私はその構造を理解することができます。私はそれがイオン1と似ていると信じていますが、私はイオン2(不安定)に私のプロジェクトを完了しました。今は構造が異なっています。どのように私はそれを利用することができます。

答えて

0

これは正しい動作ですが、ディレクトリ構造は、すべてのソースファイルおよび資産と完全に生成されたwwwファイルfolderbeが含まれていますRC 0 srcフォルダに変更されました。

関連する問題