You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
preview after packaging is inconsistent with local startup preview when building a personal blog with vitepress, which may be due to my Suspense. I wonder if that is because of my mistakes
#2381
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
使用 vitepress 搭建个人博客,打包后预览与 本地启动预览不一致,也许是由于Suspense,想请问是不是因为我使用错误导致的问题,打包部署后自定义首页的组件渲染了两份DOM节点。
博客地址:https://github.com/lv-z-l/front-end-blog
自己开发的首页:
CustomHome.vue
本地启动的效果:
打包后部署的效果:
访问地址:https://lv-z-l.github.io/front-end-blog/

Beta Was this translation helpful? Give feedback.
All reactions