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
build: TypeError: Invalid value used as weak map key
在报错处,打 log,可看出还是解析 tag 开发模式与构建模式存在差异,开发模式进行了替换,实际是不存在的组件。控制台有警告,但很难察觉。
[Vue warn]: Failed to resolve component
https://v2.vuepress.vuejs.org/reference/config.html
无法访问 $site.pages
vuejs/vuepress#2689 (comment)
支持 v2 的 blog plugin
https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/main/packages/blog2/src/client/composables/useBlogCategory.ts
使用说明
https://vuepress-theme-hope.gitee.io/v2/blog/zh/
其他插件,依然是 1.x
https://github.com/xugaoyi/vuepress-theme-vdoing/blob/master/docs/.vuepress/config.ts
解析bug
<li>指定折叠<code>{{{1</code></li>
多个大括号-origin \<a download>\. C
文本存在尖括号Vuepress2.x 编译报错 TypeError: Invalid value used as weak map key_AvatarGiser的博客-CSDN博客
官方配置
https://github.com/vuepress/vuepress-next/blob/main/docs/.vuepress/config.ts
build: TypeError: Invalid value used as weak map key
![image](https://user-images.githubusercontent.com/3146103/159602294-3f150d61-e768-4765-8eb8-860fb48f7006.png)
在报错处,打 log,可看出还是解析 tag 开发模式与构建模式存在差异,开发模式进行了替换,实际是不存在的组件。控制台有警告,但很难察觉。
[Vue warn]: Failed to resolve component
博客相关
https://v2.vuepress.vuejs.org/guide/page.html#routing
The text was updated successfully, but these errors were encountered: