为echarts-liquidfill插件下载不成功者提供!
1:将包拖入node-modules种解压
2:找到package-lock.json文件:加上以下代码:
"echarts-liquidfill": {
"version": "3.1.0",
"resolved": "https://registry.npmmirror.com/echarts-liquidfill/-/echarts-liquidfill-3.1.0.tgz",
"integrity": "sha512-5Dlqs/jTsdTUAsd+K5LPLLTgrbbNORUSBQyk8PSy1Mg2zgHDWm83FmvA4s0ooNepCJojFYRITTQ4GU1UUSKYLw=="
},
3:找到package.json文件,找到文件中:''dependencies''对象中加上:
"echarts-liquidfill": "^3.1.0"
1