I. Introduction of the Project
It is well known that ext is a very powerful form of control, especially in the grid to provide users with a lot of functionality, and now the mainstream is still used extjs4.0-4.2, but a higher version more in line with the aesthetic requirements of people. So, let's build a ext6.2 version of the Web project today.
II. Preparation of the project
E XT JS 6 . 2 GPL Official edition: https://www.sencha.com/legal/gpl/
After the download is complete, the project directory is as follows:
Iii. Construction of the project
1. Refer to the following JS files in the project you have established: (Note that the JS files are mostly in the build folder)
1<script type="Text/javascript"Src="Ext-all.js"></script>2<script type="Text/javascript"Src="Ext-all-debug.js"></script>3<script type="Text/javascript"Src="Ext-bootstrap.js"></script>4<script type="Text/javascript"Src="Locale-zh_cn.js"></script>
2. Reference the response of the CSS file: (Note: You need to have their own Ext-6.2.0\build\classic\theme-crisp folder all the things to be introduced)
1 <link rel= " stylesheet " type= " text/css " href=" theme-crisp/resources/theme-crisp-all.css "/>2 <link rel=" stylesheet " Type= " text/css " href= " theme-crisp/resources/ Theme-crisp-all-debug.css />
Next, you can write a small demo to test, so that the completion of the ext6.2 build.
Bloggers suggest: ext6.2 has a lot of features, official documents are also very detailed, but in spite of this, there may be some problems in the actual project, it is recommended that you still write code according to the official standards.
Building a Web project using EXtjs6.2