Is there a way to set GWT to include style names in the compiled names?

孤者浪人 提交于 2019-12-11 16:37:49

问题


I use CssResource extensively, and now my generated html is full of GWXSHFKADAish class names. I get all of the advantages of that, but for debugging it'd be helpful to add a flag that would turn .selected into GWXSTY_selected. Is there any way to do this?


回答1:


When you set

<set-configuration-property name="CssResource.style" value="pretty"/>

in your .gwt.xml file, then the resulting class names will contain the original class name.



来源:https://stackoverflow.com/questions/7506671/is-there-a-way-to-set-gwt-to-include-style-names-in-the-compiled-names

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!