uni-app 使用组件Component is not found
uni-app 使用组件Component is not found
- uni+vue3 插件市场下载引入ucharts ,在pages.json中 easycom下面的custom配置"^qiun-data-charts": “@/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue”
- 运行到小程序报一下问题
- Component is not found in path “uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts” (using by “components/global-component/w-chart-bar”).
更多关于uni-app 使用组件Component is not found的实战教程也可以访问 https://www.itying.com/category-93-b0.html
2 回复
可以去插件市场看看有没有人遇到类似的问题,或者尝试联系作者查问题
更多关于uni-app 使用组件Component is not found的实战教程也可以访问 https://www.itying.com/category-93-b0.html
这个错误通常是由于组件路径配置不正确导致的。针对你的问题,建议检查以下几点:
- 确保easycom配置路径正确:
"easycom": {
"custom": {
"^qiun-data-charts": "@/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue"
}
}