项目中需要使用ant的图表,没想到安装版本时遇到了阻碍,试了很多才匹配上,值得记录下
直接贴dependencies吧
node的版本是16.13.1
"dependencies": {
"@ant-design/charts": "0.9.0",
"@ant-design/plots": "^2.0.6",
"@jiaminghi/data-view": "^2.10.0",
"@liveqing/liveplayer": "^2.7.17",
"@mapbox/mapbox-gl-draw": "1.3.0",
"@riophae/vue-treeselect": "0.4.0",
"@turf/turf": "^6.5.0",
"ant-design-vue": "1.7.8",
"axios": "0.24.0",
"clipboard": "2.0.8",
"core-js": "^3.32.0",
"echarts": "5.4.0",
"element-ui": "2.15.13",
"file-saver": "2.0.5",
"flv.js": "^1.6.2",
"fuse.js": "6.4.3",
"highlight.js": "9.18.5",
"js-beautify": "1.13.0",
"js-cookie": "3.0.1",
"jsencrypt": "3.0.0-rc.1",
"mapbox-gl": "2.5.1",
"nprogress": "0.2.0",
"quill": "1.3.7",
"screenfull": "^5.0.2",
"sortablejs": "1.10.2",
"vue": "2.6.12",
"vue-awesome": "4.0.2",
"vue-count-to": "1.0.13",
"vue-cropper": "0.5.5",
"vue-echarts": "6.2.3",
"vue-meta": "2.4.0",
"vue-router": "3.4.9",
"vuedraggable": "2.24.3",
"vuex": "3.6.0"
},