2012-08-15 87 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'。

相關問題