$ npm install -g cordova ionic
//It will iterate all cordova plugin in package.json and install each
$ node install-plugins.js
$ ionic serve
$ ionic platform add ios
$ ionic build ios
$ ionic emulate ios
npm install
- change
ssas/ionic.project
to next text
{
"name": "ssas",
"app_id": "608e6e24",
"proxies": [
{
"path": "/m",
"proxyUrl": "http://zdf.jooau.com/index.php/m"
},
{
"path": "/data",
"proxyUrl": "http://bbc.jooau.com/zhongshihua/data"
}
],
"gulpStartupTasks": [
"sass",
"dev"
],
"watchPatterns": [
"www/index.html"
]
}
ionic serve
(start development)gulp prod
(start production)