GWT 2 CssResource how to

后端 未结 2 2234
抹茶落季
抹茶落季 2021-02-07 08:29

I have a GWT 1.7 application and I want to upgrade it to GWT 2 Milestone 2. The application uses 2 big external CSS files. In GWT 1.7 I had a public folder and put both the CSS

2条回答
  •  孤城傲影
    2021-02-07 08:46

    Got it solved. As pointed out by Thomas@Google Groups --> The @external must not be put "above" the style

    http://code.google.com/p/google-web-toolkit/wiki/CssResource#External...

    The example from this link, the css will look like :

    @external .legacySelectorA, .legacySelectorB;
    .obfuscated .legacySelectorA { .... }
    .obfuscated .legacySelectorB { .... }
    
    /* @external also accepts tail-globs */
    @external .myProject-*;
    .myProject-text {}
    .myProject-foo {}
    

提交回复
热议问题