我使用Sencha Architect编写我的sencha touch应用程序代码。在尝试手动更新我的app.json以更改"更新":" delta"到"更新":"完整"。但是每次我建立这个项目时,我发现Sencha Architect都附加了一些内容,然后添加"更新":" delta""背部。如何禁用sencha touch应用程序的增量更新?下面是我的app.json。很明显,Sencha Archite(或Sencha cmd)将相同的css配置添加到我的配置中并添加了"更新":" delta"。
"css": [
{
"update": "full",
"platform": [
"phone",
"tablet",
"desktop"
],
"theme": "Default",
"path": "resources/css/sencha-touch-b7bf9d92-8863-494c-b8c7-7c423a420d33.css"
},
{
"update": "delta",
"platform": [
"phone",
"tablet",
"desktop"
],
"theme": "Default",
"path": "resources/css/sencha-touch-b7bf9d92-8863-494c-b8c7-7c423a420d33.css"
}
],
我的.sencha / app / sencha.cfg文件内容 app.name = MyMusicBox
app.framework=touch
app.classpath=${app.dir}/app.js,${app.dir}/app
# this property specifies a comma separated list of paths containing
# resources to copy to the build directory
app.resource.paths=
app.build.dir=${workspace.build.dir}/${app.name}
app.framework.version=2.4.0.487
app.cmd.version=5.0.3.324
答案 0 :(得分:0)
从app.json删除"更新":"完整" 。