【问题已解决,请教原因】域名停靠cloudflare,勾选Auto Minify中的HTML,每个页面都会重复两次 #2991
-
部署方式github page自定义域名,域名停靠cloudflare 出现的问题如图所示,同一个页面会渲染两次(本地没问题,使用github.io域名也没问题) 复现方式域名的dns解析使用cloudflare,并且勾选Auto Minify中的HTML,如图 解决办法将Auto Minify的HTML不勾选,即可解决 疑问试了一些其他的项目,无法复现上述问题,为什么会出现这个问题呢? |
Beta Was this translation helpful? Give feedback.
Answered by
Mister-Hope
Apr 6, 2023
Replies: 1 comment 1 reply
-
Didn't the docs tell you everything? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Mister-Hope
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Didn't the docs tell you everything?
https://theme-hope.vuejs.press/zh/faq/common-error.html#hydration-completed-but-contains-mismatches