uniapp中的uni_modules分包
这里以qiun-data-charts组件使用为例子,子包目录subpackages/popupSjyy
步骤1:物理移动
手动把根目录下uni_modules里面的组件移动到subpackages/popupSjyy/uni_modules
步骤2:配置 easycom
{"easycom": {"autoscan": true,"custom": {"^qiun-data-charts(/.*)?$": "@/subpackages/popupSjyy/uni_modules/qiun-data-charts/components/qiun-data-charts/qiun-data-charts.vue"}}
}