What is the smallest ExtJS package?

后端 未结 2 667
醉酒成梦
醉酒成梦 2021-02-06 14:16

Does anyone know the bare minimum files required for Ext JS 2.2? I know the ExtJS site has a feature to \"build\" a small version of ExtJS (ext.js) as a replacement for ext-all.

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-06 15:19

    This link explains the include order What is the proper include order for my JavaScript files?

    This is the minimum include set

    
    
    
    

    The ext-all.css depends on files in ../extjs/resources/css so you should include that entire directory structure also.

    So you'd need the following files at a minimum

    • extjs/resources/**/*
    • extjs/adapter/ext/ext-base.js
    • extjs/ext-all.js

    If you're not using Ext JS for any of the UI components then you don't need any of the stylesheets and supporting images, but in that case you'd have to question why you're using Ext JS since that's it's strong point.

提交回复
热议问题