Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'hoistedTags') #28

Closed
hahaxiaowai opened this issue Aug 27, 2022 · 4 comments
Closed

Cannot read properties of undefined (reading 'hoistedTags') #28

hahaxiaowai opened this issue Aug 27, 2022 · 4 comments

Comments

@hahaxiaowai
Copy link

image

这是因为什么导致的呢

@xiaolannuoyi
Copy link

一样的报错,大家怎么解决的呢?

@yzyerbao
Copy link

yzyerbao commented Sep 1, 2022

vitepress@^1.0.0-alpha.8
这个版本下是正常的,新版本可能是有问题

@LiZhequ
Copy link

LiZhequ commented Sep 9, 2022

vitepress现在用的是,@mdit-vue/plugin-sfc,sfc相关的内容存在了env.sfcBlocks里,已经没有hoistedTags了,这个库看起来也没人维护了,可以自己修改下

@xinlei3166
Copy link
Owner

2.0版本重写完成,已经适配vitepress@1.0.0-alpha.28。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants