vuepress-reco / vuepress-theme-reco

🎨 This is the repo for vuepress-theme-reco 2.
https://vuepress-theme-reco.recoluan.com
MIT License
540 stars 175 forks source link

[1.x]将reco build后部署在静态server lighttpd上后访问页面,页面变成纯静态的 #52

Closed yellowyellowyellowsun closed 2 years ago

yellowyellowyellowsun commented 2 years ago

Describe the bug 将reco build后部署在静态server lighttpd上后访问页面,页面一直停留在 LoadingPage组件定义的图像,没有跳转到主页

To Reproduce Steps to reproduce the behavior:

  1. 在项目根目录执行 yarn docs:build
  2. 将docs/.vuepress/dist目录放到lighttpd 指定文件夹下
  3. 访问页面,
  4. 页面一直停留在 LoadingPage组件定义的图像
  5. 同时串口显示 “DOMException:Node.appendChild:can not add children to a comment”

Expected behavior 页面短暂停留 LoadingPage后,跳转至主页

Desktop (please complete the following information):

Additional context 新人一枚,对SSR项目部署有很多疑问,很好奇大家都是怎么部署的,直接部署到github上吗

recoluan commented 2 years ago

部署问题请移步 vuepress 官网。