1.Component is not found in path
你是否像我一样,检查了无数遍,引入路径检查千万遍,就是没写错,小程序后台就是给你报错,
不用慌,心里默念:我不能砸电脑,我不能砸电脑,我不能砸电脑!!!(电脑被砸的声音,哈哈哈),好了,接下来讲一下怎么解决!
Component is not found in path “components/xxx/xxx“ (using by “pages/xxx/xxx“) 问题记录
多谢这位博主
Component is not found in path "path/to/vant-weapp/dist/button/index" (using by "pages/index/inde... - 简书解决方法: 1.将文件夹node_modules的vant文件夹cv到miniprogram_npm下 2.将json文件的usingComponents的path/...https://www.jianshu.com/p/a5fbb6eba4b4
2.“Component “页面路径“ does not have a method “ 方法名“ to handle event “tap“.”
接下来是相反的操作,我愿称之为逆天
3.万能解决问题的办法
关掉项目,关机重启,一遍不行再来一遍,再把上面的配置来回切一下,清除缓存,再来一遍。(才玩几天uni-app一堆坑都踩了)
4.v-for渲染出现报错
我以为到上面就结束了,又踩一坑,虽然这个报错不影响渲染结果,但是还是解决一下比较好
解决办法:加?