Where do I put static files for GWT app? war folder or public folder?

前端 未结 3 1947
攒了一身酷
攒了一身酷 2020-12-05 19:35

I have some JavaScript files, a main HTML file, a main CSS file, and some CSS files that get imported into the main one.

I understand that I can put static files in

3条回答
  •  鱼传尺愫
    2020-12-05 19:56

    The new way of working in GWT is to use the war folder.

    But, if you project is a reusable widget library which is used in a GWT application then you should put the resources in the public folder. The compiler will make sure that the files are automatically included in the generated package.

提交回复
热议问题