gpt4 book ai didi

css - GWT Stockwatcher 教程 - 自动资源包括

转载 作者:太空宇宙 更新时间:2023-11-04 04:40:20 24 4
gpt4 key购买 nike

我正在学习 GWT 教程 ( GWT Tutorial)

有关自动资源包含的部分说:

For StockWatcher, you'll follow the preferred strategy. Rather than put links to the style sheets in the HTML host page, you'll use the module XML file. Then, when you compile StockWatcher, the GWT compiler will bundle all the static resources required to run your application including the style sheets. This mechanism is called Automatic Resource Inclusion.

但是,他们似乎将样式表放在托管页面而不是模块 XML 文件中。

这是一个错误吗?

最佳答案

那段肯定已经过时了,应该删除/替换。您可以将链接到的当前版本与旧的 1.5 版本进行比较 https://developers.google.com/web-toolkit/doc/1.5/tutorial/style ,他们仍然使用 <stylesheet>模块 XML 文件中的元素。

关于css - GWT Stockwatcher 教程 - 自动资源包括,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15597511/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com