vuepress-reco / vuepress-theme-reco

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

2.x打包后 页面样式丢失问题 #158

Closed babalash0728 closed 1 year ago

babalash0728 commented 1 year ago

Bug report

What is actually happening?

当我执行npm run build后,控制台会打印以下信息: ⠹ Rendering pages /[Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. ⠸ Rendering pages /blogs/other/guide.html[Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. [Vue warn]: injection "Symbol()" not found. ... 当我运行dist文件夹里的index.html 首页样式全部丢失 请问是什么原因? 有什么解决办法么

Other relevant information

recoluan commented 1 year ago

使用 2.0.0-beta.44 版本试一下

babalash0728 commented 1 year ago

问题已解决 是我自己的问题 和主题没关系

recoluan commented 1 year ago

那些 warning 提示是跟主题有关的