前端|vue使用echarts-liquidfill水球图不生效

水球图官方链接:
https://www.npmjs.com/package/echarts-liquidfill

安装命令:
npm install echarts --save
npm install echarts-liquidfill --save
main.js引用:
import * as echarts from 'echarts';
import 'echarts-liquidfill'
Vue.prototype.$echarts = echarts;

echarts版本:
"echarts": "^5.2.2"
报错信息:
These dependencies were not found:

* echarts/lib/data/helper/completeDimensions in ./node_modules/echarts-liquidfill/src/liquidFillSeries.js
* echarts/lib/visual/dataColor in ./node_modules/echarts-liquidfill/src/liquidFill.js

To install them, you can run: npm install --save echarts/lib/data/helper/completeDimensions echarts/lib/visual/dataColor
解决办法:
npm i v-charts echarts@4.9.0 -S
降级后可以使用
【前端|vue使用echarts-liquidfill水球图不生效】

    推荐阅读