首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

sencha touch 的四中build

2013-03-25 
sencha touch 的4中buildsencha app build 后面一般会有一个参数,不同的参数编译出来的效果不同,具体参照

sencha touch 的4中build


sencha app build 后面一般会有一个参数,不同的参数编译出来的效果不同,具体参照下面:



  • 'testing' is meant for QA prior to production. All JavaScript and CSS source Files are bundled, but not minified, which makes it easier for debugging if needed用于测试,只是把所有的js打包成一个app.js
    • 'package' creates a self-contained, re-distributable production build that normally runs from local file system without the need for a web server只打包了关联的js
      • 'production' creates a production build that is normally hosted on a web server and serves multiple clients (devices). The build is offline-capable using HTML 5 application cache, and has built-in over-the-air delta updating feature自动生成了离线缓存
        • 'native' first generates a 'package' build, then packages it as a native application, ready to be deployed to native platforms
        • 这种方式生成My Application.app,用于ios产品封装

热点排行