【问题标题】:Is there a way to set GWT to include style names in the compiled names?有没有办法将 GWT 设置为在编译名称中包含样式名称?
【发布时间】:2011-09-21 21:08:44
【问题描述】:

我广泛使用 CssResource,现在我生成的 html 充满了 GWXSHFKADAish 类名。我得到了它的所有优点,但是对于调试,添加一个将.selected 转换为GWXSTY_selected 的标志会很有帮助。有没有办法做到这一点?

【问题讨论】:

    标签: gwt cssresource


    【解决方案1】:

    当你设置时

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

    在您的 .gwt.xml 文件中,生成的类名将包含原始类名。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-09-14
      • 1970-01-01
      • 2018-09-14
      • 1970-01-01
      • 2013-08-02
      • 1970-01-01
      • 2011-03-26
      • 1970-01-01
      相关资源
      最近更新 更多