该应用程序不包括用户体验。
整个 extjs 库位于 -myexample/js/ext-6.2.0
我复制自myexample/js/ext-6.2.0/
将文件夹“ux”及其所有内容打包到我的应用程序中
test
|---app.js
|
|---app
| |---controller
| |---model
| |---store
| |---ux
| |---view
|---index.html
然后在 app.js 中,在调用应用程序之前我连接“ux”:
Ext.Loader.setConfig({enabled:true});
Ext.Loader.setPath('Ext.ux', 'app/ux');
Ext.application({
....
我收到错误:
[Ext.Loader] 同步加载'widget.treepicker';考虑
在 Ext.onReady 上方添加 Ext.require('widget.treepicker')
版本:Ext JS 6.2.0.981 - JavaScript 库
我究竟做错了什么?
如何包含用户体验?
谢谢。
尝试将其添加到 app.js 文件中
requires:[
'Ext.ux.your_file_name' //your_file_name inside the ux folder
]
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)