如何在git clone之后启动离子应用程序?

时间:2016-01-12 13:35:56

标签: cordova npm ionic-framework ionic bower

我想运行我从git克隆的离子应用程序。我可以看到有package.jsonbower.json个文件。有没有办法(使用npm或bower)安装package.json文件中指定的插件和平台? 这是package.json

{
  "name": "example",
  "version": "1.0",
  "description": "example: App providing example, isn't that obvious?",
  "dependencies": {
    "gulp": "^3.5.6",
    "gulp-sass": "^2.0.4",
    "gulp-concat": "^2.2.0",
    "gulp-minify-css": "^0.3.0",
    "gulp-rename": "^1.2.0"
  },
  "devDependencies": {
    "bower": "^1.3.3",
    "gulp-util": "^2.2.14",
    "shelljs": "^0.3.0"
  },
  "cordovaPlugins": [
    "com-badrit-base64",
    "cordova-plugin-camera",
    "cordova-plugin-console",
    "cordova-plugin-device",
    "cordova-plugin-dialogs",
    "cordova-plugin-file",
    "cordova-plugin-file-transfer",
    "cordova-plugin-splashscreen",
    "cordova-plugin-statusbar",
    "cordova-plugin-whitelist",
    "de.appplant.cordova.plugin.email-composer",
    "ionic-plugin-keyboard"
  ],
  "cordovaPlatforms": [
    "ios",
    "android"
  ]
}

感谢名单!

编辑: 我发现ionic state restore为我完成了所有工作!

0 个答案:

没有答案