https://github.com/ahjsrhj/vant-cli-demo-pnpm
Vant Cli 版本4.0.0-rc.3
描述一下你遇到的问题。dev构建失败,提示没有md loader
> vant-cli dev
Pre-bundling dependencies:
vue
@vant/touch-emulator
vue-router
site-desktop-shared
site-mobile-shared
(...and 1 more)
(this will be run only when your dependencies or config have changed)
> node_modules/.pnpm/@vant+cli@4.0.0-rc.3_vue@3.2.22/node_modules/@vant/cli/dist/site-desktop-shared.js:3:32: error: No loader is configured for ".md" files: src/demo-button/README.md
重现步骤
通过yarn create vant-cli-app创建了一个初始项目, 将其中vant-cli版本号升级到4.0.0-rc.3版, 之后运行pnpm install。 完成后运行npm run dev报错