vaadin-延迟组件加载

发布于 2025-02-08 07:35:13 字数 186 浏览 2 评论 0原文

我们有一个新的Vaadin 23 Web应用程序,我们正在尝试优化第一页的负载。

最大的组件是vaadin JavaScript文件超过500K。

https://onepub.dev

我认为vaadin包括我们在首页上不使用的一些组件。

无论如何,是否有可以让vaadin推迟加载这些组件直到需要?

We have a new vaadin 23 web app that we are trying to optimise the first page load of.

The largest components are the vaadin JavaScript files which are in excess of 500k.

Https://onepub.dev

I assume that vaadin is including some components that we aren't using on the first page.

Is there anyway to get vaadin to delay loading these components until they are needed?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

合久必婚 2025-02-15 07:35:13

截至目前:不。有一张相关的票: https://github.com/vaadin/flow/flow/flow/sissues/5537 < /a>

As of right now: no. There is a related ticket: https://github.com/vaadin/flow/issues/5537

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文