【发布时间】:2020-10-30 02:56:55
【问题描述】:
如何进行全面补液? 当有一个 if 子句时,这种情况一直发生,我只在客户端使用该变量来延迟请求。 遇到此错误时,它会停止整个客户端应用程序在生产环境中运行(Hydrating)!
如果有必要的话,我需要它在应用程序上进行一次完全补水,就像在开发模式下一样,它工作得非常好! Note that on elements without the data-server-rendered attribute, hydration can also be forced by passing true to the hydrating argument of $mount
【问题讨论】:
标签: vue.js nuxt.js server-side-rendering vue-ssr