JSON文件[“USINGCOMPONENTS“][“VAN-BUTTON“] 未找到
距离上次更新已经过了 980 文中部分内容可能已经过时,如有疑问,请在下方留言。
错误信息
.json: [“usingComponents”][“van-button”] 未找到
或者
.json: [“usingComponents”][“van-button”]: “path/to/vant-weapp/dist/button/index” 未找到
解决
右击在外部命令行打开
执行
bash
1 | npm init |
一路回车确定
bash
1 | npm install --production |
然后执行
bash
1 | npm i vant-weapp -S --production -verbose |
点击菜单栏–》工具 –》构建npm,下图是项目的本地设置
重新定义路径

Invitation
aqing
962555446
created:15/04/2021
Welcome to Candyhome
Use this card to join the candyhome and participate in a pleasant discussion together .
Welcome to aqing's candyhome,wish you a nice day .
评论