How to use a file from Ext.example

前端 未结 1 1149
后悔当初
后悔当初 2020-12-21 18:08

I went through the docs to find for a Ext.example.msg but, i am unable to find it.

According to this example, they have successfully used Ext.exam

相关标签:
1条回答
  • 2020-12-21 18:34

    When you include your js script in you index.html, as you did in 1:

    <script type="text/javascript" src="app/extjs/examples/shared/examples.js"/>
    

    You no longer need loader or to require it - you have explicitly included it and it is clear the script content will be in scope.

    It appear to me your path is incorrect: There's no app/extjs and it would make sense to have the extjs folder as sibling to that of your app. Thus this should work:

    <script type="text/javascript" src="extjs/examples/shared/examples.js"/>
    
    0 讨论(0)
提交回复
热议问题