Override GWT Styling

后端 未结 12 2265
栀梦
栀梦 2020-12-13 18:53

I had a beautiful pure HTML mockup for a webpage that I am now recreating in GWT. I\'m attempting to use the same css in my GWT app, but that\'s not working well for me. G

12条回答
  •  感动是毒
    2020-12-13 19:45

    Solution is actually to create a public/css folder in the same directory as your gwt.xml.

    Add these two lines to your gwt.xml:

    
    

    and

    
    

    Place your project-name.css file in the css folder.

    This works with both GWT Compile and Super Dev Mode.

提交回复
热议问题