I'm trying to use the color picker under ext/packages/ux/classic/src/colorpicker So I set my requires :
requires: [
'Ext.plugin.Viewport',
'Ext.window.MessageBox',
'ThemeDemoApp.view.main.MainController',
'ThemeDemoApp.view.main.MainModel',
'ThemeDemoApp.view.main.List',
'Ext.slider.Single',
'Ext.ux.colorpick.Button'
]
And at the top of app.js, I set this :
Ext.Loader.setConfig({ enabled : true,
paths : {
'Ext.ux' : 'ext/packages/ux/classic/src'
}
});
But it's not working I have : Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:1841/ext/classic/cl...=1437726506841
It doesn't take my loader configuration. How can I configure Ext.ux correctly ?
Thanks
Ext.Loader
. Merely specifyingExt.ux.colorpick.Button
in therequires
declaration should work. – Lucho