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

fix: 锁定vitepress版本 #75

Merged
merged 1 commit into from
Sep 26, 2022
Merged

fix: 锁定vitepress版本 #75

merged 1 commit into from
Sep 26, 2022

Conversation

Yamiqu
Copy link
Contributor

@Yamiqu Yamiqu commented Sep 24, 2022

项目clone后启动不了,发现问题主要在vitepress中的<script setup>中。

爬了会坑定位到是vitepress-theme-demoblock尝试读取在vitepress新版被移除的hoistedTags属性。

见:
vuejs/vitepress#1258

vitepress-theme-demoblock项目看上去好像没有维护了,看了下去原仓库提这个bug不大可能被修复了。

只能先锁死版本到vitepress 1.0.0-alpha.8来解决一下了。

@57code 57code merged commit 9133d35 into 57code:study Sep 26, 2022
@57code
Copy link
Owner

57code commented Sep 26, 2022

暂时可以这样解决,可以fork一份vitepress-theme-demoblock,修一下也不错哦

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

Successfully merging this pull request may close these issues.

None yet

2 participants