Extjs 4.2编译mvc现有项目

时间:2016-01-30 14:07:06

标签: extjs minify extjs4.2 sencha-cmd yui-compressor

我的项目是在Extjs 4.2(MVC结构)中开发的,我想用Sencha cmd构建它我试过这个命令行:sencha compile --classpath=path/extjs-source,path/src,path/extjs/ux,path/project --options=debug:false include --all and concatenate --compress --output-file=output.js 当我在我的Php项目中整合output.js文件时,我有错误:Uncaught TypeError: Object prototype may only be an Object or null: undefined 你能阻止我这么做吗

1 个答案:

答案 0 :(得分:0)

如果您的项目位于D:\ WORK,那么在sencha cmd上,导航到此路径 并运行命令Sencha app build。如果执行此操作成功,您将在sencha项目内的build \ production文件夹中获得项目的构建。