Write in front
"This is a tool-based blog that doesn't have any ideas to help you build an EXT Desktop infrastructure project."
Ext version: EXT-5.1.0-GPL
Sencha cmd version: Senchacmd-5.1.0.26-linux-x64.run
Process and details
1. Install Sencha cmd according to website guidelines
Http://docs.sencha.com/cmd/5.x/intro_to_cmd.html
2. Download ext framework, unzip and get Ext-5.1.0/examples/desktop folder, copy the Desktop folder separately
The 3.desktop folder is the desktop project and you need to configure it so that it runs, as follows:
1) refer to Http://docs.sencha.com/cmd/5.x/extjs/cmd_app.htmlbuild a basic project MyApp, run the following command
sencha-sdk/home/jayzee/downloads/ext-5.1.0 Generate app Desktop /home/jayzee/downloads/myapp
Note 1:/home/jayzee/downloads/ext-5.1.0 is my ext Framework,/home/jayzee/downloads/myapp is where I want to build the project
Note 2: Because the desktop project is not working, the following is actually migrating the key files in desktop to the MyApp project so that it runs, so it must be in bold desktop
2) The following migration:
1 Delete all files in Myapp/app, copy all files in Desktop/app to Myapp/app; 2 overwrite desktop/app.js myapp/app.js3 modify myapp/ App.json's requires and classpath two items are "requires": [ "Ext-charts" ], "classpath": "${app.dir}/app,${app.dir}/". /ux "4 Copy Desktop/sass/src/app.css to Myapp/sass/src/app.css
3) After the completion of the above operation, the terminal into the MyApp folder, run Sencha app watch, if no error can be seen on the localhost:1841 desktop project
4) If you do not follow the above, please download the desktop Project I have set up Https://github.com/JayzeeZhang/extjs5-desktop-demo
How to build a ExtJS desktop project