错误截屏

微信小程序使用Vant组件,出现 Component is not found in path 错误

解决办法

进入到vant-weapp目录下,将里面的组件全部删除

微信小程序使用Vant组件,出现 Component is not found in path 错误

然后打开 vant的官方git仓库 :https://github.com/youzan/vant-weapp

将其全部下载下来,再将里面的dis目录代码放入vant-weapp中即可将问题解决!

微信小程序使用Vant组件,出现 Component is not found in path 错误

微信小程序使用Vant组件,出现 Component is not found in path 错误

成功解决

微信小程序使用Vant组件,出现 Component is not found in path 错误

相关文章: