2012-08-15 86 views
1

我使用'sencha app build production'命令编译了我的项目。 当我尝试将其加载到浏览器中,我得到了以下错误:Sencha Touch 2:生产版本不会在浏览器中打开

Error evaluating http://localhost:8888/RFN/build/production/app.js with message: Error: [Ext.Loader] Failed loading synchronously via XHR: 'src/form/Panel.js'; please verify that the file exists. XHR status code: 404 

肯定是在我的生产版本没有“src”中的文件夹。我错过了什么?

回答

1

原来我不得不在我的app.js文件中声明'require Ext.form.Panel'。

相关问题