简体   繁体   中英

ExtJS not rendering components correctly

I'm using ExtJS 5.1.

Every time I run sencha app build or sencha app refresh , there's a chance that something will go wrong and it will make the components be rendered completely wrong on the screen. This image can explain better:

渲染效果不好

And this is how it should look like:

应该如何

The only solution I have so far is to run those commands repeatedly until the application renders correctly.

This happens in all browsers, and it's not related to cache. Also SenchaCMD does not throw any errors that I can relate to this problem.

sencha app refresh will not build the CSS and therefore will not affect the style of the components. sencha app build should build the CSS but during development I tend to use sencha app watch to update the CSS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM