不从NUXT加载屏幕进展
我们正在使用nuxt。
SSR
和
的设置如下:nuxt.config.js
的目标
export default {
ssr: false,
target: 'static',
}
我们的网站几乎完全按预期工作。 但是,当我们在浏览器中选中其他选项卡后检查站点时,有时我们无法从加载屏幕上移动。
这是什么原因?我们在中间件和每个页面和组件上都有日志以进行调查,但是日志没有显示在控制台上,我们无法确定原因。
我们应该怀疑什么,应该调查什么?
繁殖率不是100%。它可能是在一天左右后发生的。
We are using Nuxt.
The ssr
and target
of the nuxt.config.js
are set as follows
export default {
ssr: false,
target: 'static',
}
Our site is working almost exactly as expected.
However, when we check our site after checking other tabs in our browser, we are sometimes unable to move on from the loading screen.
What is the cause of this? We have logs in the middleware and on each page and component to investigate, but the logs do not show up on the console and we are unable to determine the cause.
What should we suspect and what should we investigate?
The reproduction rate is not 100%. It may have occurred after a day or so.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
毕竟,我们的现象似乎与他们的问题相同。
https://github.com/nuxt/nuxt/nuxt/nuxt/nuxt.js/issues/6442
如果我可以重申其描述的条件,则在Chirome中使用多个选项卡时会发生。这些似乎没有修复,也许是因为他们正忙着支持NUXT 3。
我们正在显示多个选项卡以进行调试目的,但实际上我们只显示一个选项卡,因此这可能不是问题。
After all, our phenomenon seems to be the same problem as theirs.
https://github.com/nuxt/nuxt.js/issues/6442
If I may reiterate the condition they describe, it occurs when multiple tabs are used in Chirome. These do not seem to have been fixed, perhaps because they are busy supporting Nuxt 3.
We are displaying multiple tabs for debugging purposes, but in reality we are only displaying one tab, so it's probably not a problem.