关于uniapp组件的坑

关于uniapp组件的坑

我有一个组件写的没什么问题,但是报下面这个错误
is not found in path “components/xxx/xxxx” (using by “components/yyy/yyy”)

最后经过排除发现命名需要驼峰命名法

我原本组件命名: 文件夹名 test_tttt 文件名 test_tttt.vue 不行

最后改成文件夹名 testTtttt 文件名 testTtttt.vue 可以了

不知道是不是因为微信开发工具再更新版本原因

猜你喜欢

转载自blog.csdn.net/weixin_42947972/article/details/132374609