初始化项目,或者利用已有项目重新运行后,报错 Error: useSidebarItems() is called without provider.,有可能是哪里的问题? #197
-
新建项目 这是我旧版的 {
"name": "xdocs",
"version": "0.0.1",
"description": "A VuePress project",
"license": "MIT",
"type": "module",
"homepage": "xxx",
"scripts": {
"docs:build": "vuepress build src",
"docs:clean-dev": "vuepress dev src --clean-cache",
"docs:dev": "vuepress dev src",
"docs:update-package": "npx vp-update"
},
"devDependencies": {
"@vuepress/client": "^2.0.0-rc.2",
"@vuepress/bundler-vite": "^2.0.0-rc.2",
"@vuepress/theme-default": "^2.0.0-rc.2",
"vue": "^3.4.0",
"vuepress": "^2.0.0-rc.2"
}
} 由于我不是很熟悉前端内容,搞不清楚到底是哪里出现了问题,请求帮助 更多信息:
这是旧版可运行的 |
Beta Was this translation helpful? Give feedback.
Answered by
Mister-Hope
Jun 5, 2024
Replies: 0 comments 4 replies
-
give me a full reproduction on stackblitz |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A bug, fixed in e5dcba2, thanks for reporting.