The application does not include the UX.
The entire extjs library is in - myexample/js/ext-6.2.0
I copied from myexample/js/ext-6.2.0/ packages the folder "ux" with all the contents into my application
test
|---app.js
|
|---app
| |---controller
| |---model
| |---store
| |---ux
| |---view
|---index.html
Then in app.js, before calling the application I connect 'ux':
Ext.Loader.setConfig({enabled:true});
Ext.Loader.setPath('Ext.ux', 'app/ux');
Ext.application({
....
I get the error:
[Ext.Loader] Synchronously loading 'widget.treepicker'; consider
adding Ext.require('widget.treepicker') above Ext.onReady
Version: Ext JS 6.2.0.981 - JavaScript Library
What am I doing wrong?
How to incldue UX?
Thanks.
解决方案
try adding this in the app.js file
requires:[
'Ext.ux.your_file_name' //your_file_name inside the ux folder
]