How to build a ExtJS desktop project

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.