Component is not found in path "wxcomponents/vant/dist/tab/index" (using by "pages/order/order")(env: Windows,mp,1.06.2206090; lib: 2.14.1)

微信小程序的报错:Component is not found in path "wxcomponents/vant/dist/tab/index" (using by "pages/order/order")(env: Windows,mp,1.06.2206090; lib: 2.14.1)

起因

  1. 当我们使用uniapp来导入vant这个ui框架时,全部都配好后,你会发现出现了报错,不要慌
    2.主要原因是uniapp没有识别该文件

解决办法

  1. 只需重启一下项目就完事了
posted @ 2022-06-25 17:49  xiaowei123456  阅读(1816)  评论(0编辑  收藏  举报