无法获取存储(无法创建无法识别的别名实例)

Nat*_*nes 2 sencha-touch sencha-touch-2

我是Sencha Touch 2的新手,并试着按照本教程学习它.我打开时收到错误index.html.这是错误:

[Ext.createByAlias] Cannot create an instance of unrecognized alias: widget.noteslist
sencha-touch-debug.js:6295 Uncaught Error: 
Run Code Online (Sandbox Code Playgroud)

谢谢!

编辑:

根据hekomobile的建议,我做了一些改动.现在需要的属性是:

requires: [
        'NotesApp.view.NotesListContainer',
        'NotesApp.view.NotesList'
],
Run Code Online (Sandbox Code Playgroud)

此外,将itemTpl属性字符串全部放在一行似乎可以解决问题(sorta).

部分应用程序加载(顶部工具栏加载),但商店没有,我收到此错误:

[WARN][NotesApp.view.NotesList#applyStore] The specified Store cannot be found Console.js:35

可以在此处下载此项目代码的当前状态.

hek*_*ile 6

进入app.js档案requires: ['NotesApp.your_folder.your_class']就像这样

Ext.application({
name: 'NotesApp',

    requires: ['NotesApp.view.NotesListContainer'],

    views: ['NotesListContainer'],
    controllers: ['Notes'],
    models: ['Note'],

    launch: function() {
        Ext.Viewport.add({
           xtype: 'noteslistcontainer'
        })
    }
});
Run Code Online (Sandbox Code Playgroud)

等等.我希望这有帮助.:)