2016-09-26 98 views
0

我需要一个简单的<script type="text/javascript" src="...">来显示我需要在我的HTML页面中放置的ExtJS 6运行的JS文件。如何设置ExtJS? docs令人困惑

我尝试阅读:https://docs.sencha.com/extjs/6.0.2/guides/getting_started/getting_started.html但它有点混乱......我真的需要Download and Install Sencha Cmd 6?我想我不需要A "universal" application ...

本教程是一老一少http://www.mysamplecode.com/2012/02/extjs-tree-json-servlet-mysql.html,我无法找到文件,如在ext-6.2.0文件夹我已经下载extjs/resources/css/ext-all.css ...

本教程等开始刚刚从JS ... http://atechiediary.blogspot.com.br/2013/06/extjs-how-to-create-static-and-dynamic.html和不显示HTML部分代码...

我从这里下载:https://www.sencha.com/legal/gpl/

+0

我强烈建议使用Sencha Cmd,它是一个小工具,它将生成可以从中启动的基本应用程序。它提供了许多其他功能,可以显着帮助您开发应用程序。基本命令如下所示:'sencha -sdk'path/to/downloaded/ext'生成应用程序--classic MyApp。/ myappfolder' – pagep

+0

Sencha Cmd是推荐的方式,如pagep在上面提示的建议。但如果您仍然感兴趣,请参阅sencha论坛上的主题:https://www.sencha.com/forum/showthread.php?303145-How-can-I-create-new-Extjs-6-application-without-sencha -cmd –

回答

0

解决:https://www.sencha.com/forum/showthread.php?303990-Is-there-a-free-GPA-CDN-for-ExtJS-6-l&p=1115697&viewfull=1#post1115697

只需按照http://cdnjs.cloudflare.com/ajax/libs/extjs/6.0.0/部分链接进入下载的ext-6.2.0/build文件夹并查找所有匹配项。因此http://cdnjs.cloudflare.com/ajax/libs/extjs/6.0.0/classic/theme-triton/resources/theme-triton-all-debug.css变成/ext-6.2.0/build/classic/theme-triton/resources/theme-triton-all-debug.css

我认为我需要的只是在build文件夹中。