core
core copied to clipboard
[Bug report] @vuepress/themeDefault 获取cssVariables.mobile是undefined 导致通过cli创建的项目预览失败
Description
复现步骤: 采用vuepress2 文档示例中的【创建示例】步骤创建的项目
- 选择了webpack
- 初始化完成后,需要自行再安装sass-loader (这个建议在cli中添加,以免用户再额外添加loader)
- pnpm run docs:dev 报错:
Reproduction
https://github.com/xiguan-wuge/vuepress2demo
Used Package Manager
pnpm
System Info
devDependencies:
+ @vuepress/bundler-webpack 2.0.0-rc.7
+ @vuepress/theme-default 2.0.0-rc.85
+ sass 1.86.0
+ sass-loader 16.0.5
+ vue 3.5.13
+ vuepress 2.0.0-rc.20
Done in 5.5s using pnpm v10.6.4
Rc7?
Hello @xiguan-wuge. Please provide a minimal reproduction using a GitHub repository or vuepress.vuejs.org/new. Issues marked with need reproduction will be closed if they have no activity within 7 days.
我更新@vuepress/bundler-webpack 到2.0.0-rc.20,项目就可以正常预览了 @Mister-Hope
Hello @xiguan-wuge. This issue is marked as invalid and closed. Please follow the issue template.
https://github.com/vuepress/ecosystem/issues/407