uncaught exception: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class: AM.controller.User
解决方法:
在app.js最上面加上:Ext.Loader.setConfig({ enabled: true });
Ext.Loader.setConfig({ enabled: true }); Ext.application({name: 'AM',appFolder: 'app',launch: function(){Ext.create('Ext.container.Viewport', {layout: 'fit',items: [{xtype: 'panel',title: '用户',html: '<font color=blue>用户列表</font>'}]});},controllers: ['Users']});