标签:.json str nbsp tput uil htm strong 1.2 mil
使用sencha创建应用
命令说明:sencha -sdk /path/to/sdk generate app -s /your/templates/path/ MyApp /path/to/myapp
如:
sencha -sdk ~/.extjs/ext-6.2.0 generate app -s ~/.extjs/ext-6.2.0/templates/admin-dashboard/ Admin ./admin
修改
在app的根目录有app.json文件,需要修改其中output为:
---------------------------------------------------------------------
"output": {
//"base": "${ext.dir}/build/examples/admin-dashboard/${build.id}",
"base":"${workspace.build.dir}/${build.environment}/${app.name}/${build.id}",
"page": "../index.html",
"manifest": "../${build.id}.json",
"appCache": {
"enable": false
}
},
删除"${ext.dir}"目录,重新build
sencha app build
标签:.json str nbsp tput uil htm strong 1.2 mil
原文地址:http://www.cnblogs.com/ningth/p/6863498.html