Code:
Ext.Loader.setConfig({enabled: true});
Ext.Loader.setPath('Ext.ux', '../ux');
Ext.require([
'Ext.grid.*',
'Ext.data.*',
]);
Did you play with Ext.Loader ? that will automatically load classes for you when needed by the application.
In my case, I use "widgets", when the project is not MVC, you can define as you want and name the file with any name.
Code:
Ext.define('SampleGrid', {
extend: 'Ext.grid.Panel',
alias: 'widget.grid',
...
Code:
Ext.widget('grid', {
renderTo: 'grid'
});
Not sure if that may help you.