</li>\n<li><p><code>app-all.js</code> - This file is a minimized build of your application plus all of the Ext JS classes required to run it. It is the minified and production-ready version of <code>all-classes.js + app.js</code>.该文件是一个最小化您的应用程序,加上所有运行所需的Ext JS类的建设。它是在缩小的和生产准备的版本所有的classes.js + app.js</p></li>\n</ol>\n\n\n<p>An Ext JS application will need a separate <code>index.html</code> for the production version of the app. You will typically handle this in your build process or server side logic, but for now let's just create a new file in the <code>helloext</code> directory called <code>index-prod.html</code>:</p><p>Ext JS的应用程序将需要一个单独的应用程序的生产版本的index.html。您通常会在您的构建过程中或服务器端逻辑处理,但现在我们只是创建一个新文件helloext称为目录索引prod.html的:</p>\n\n<pre><code><html>\n<head>\n <title>Hello Ext</title>\n\n <link rel=\"stylesheet\" type=\"text/css\" href=\"extjs/resources/css/ext-all.css\">\n <script type=\"text/javascript\" src=\"extjs/ext.js\"></script>\n <script type=\"text/javascript\" src=\"app-all.js\"></script>\n</head>\n<body></body>\n</html>\n</code></pre>\n\n<p>Notice that <code>ext-debug.js</code> has been replaced with <code>ext.js</code>, and <code>app.js</code> has been replaced with <code>app-all.js</code>. If you navigate to <a href=\"http://localhost/helloext/index-prod.html\">http://localhost/helloext/index-prod.html</a> in your browser, you should see the production version of the \"Hello Ext\" application.</p><p>请注意,EXT-debug.js已与ext.js取代,并app.js已取代APP-all.js。如果您在您的浏览器导航到http://localhost/helloext/index-prod.html,应该看到的Hello分机应用程序的生产版本。</p>\n\n<h2 id='getting_started-section-4'>4. 进一步阅读Further Reading</h2>\n\n<ol>\n<li><a href=\"#/guide/class_system\">Class System类系统</a></li>\n<li><a href=\"#/guide/application_architecture\">MVC Application ArchitectureMVC应用程序架构</a></li>\n<li><a href=\"#/guide/layouts_and_containers\">Layouts and Containsers布局和容器</a></li>\n<li><a href=\"#/guide/data\">Working with Data使用数据</a></li>\n</ol>\n\n","title":"Getting Started with Ext JS 4"});
a1010101010
最新推荐文章于 2021-05-30 17:47:41 发布