安装 vue-echarts,运行后报错,而且package.json里面没显示vue-echarts信息是啥情况?
来源:3-2 vue-echarts 组件库入门
weixin_慕田峪5054208
2022-01-05
Failed to compile with 1 error 10:55:34 ├F10: AM
┤
This dependency was not found:
- echarts/core in ./node_modules/_vue-echarts@6.0.0@vue-echarts/dist/index.esm.min.js
To install it, you can run: npm install --save echarts/core
Error from chokidar (C:): Error: EBUSY: resource busy or locked, lstat ‘C:\hiberfil.sys’
=============================================================
package.json
“dependencies”: {
“core-js”: “^3.6.5”,
“echarts”: “^4.9.0”,
“element-ui”: “^2.4.5”,
“vue”: “^2.6.11”,
“vue-router”: “^3.2.0”
},
2回答
-
uuuutiger
2022-01-09
安装最新版的也可以,老师的是旧版本,旧版本绑定options 是:options 新版本是 :option 可以看下github的使用教程
212022-03-16 -
不染的卡卡
2022-01-05
"echarts": "^4.7.0",
"vue-echarts": "^5.0.0-beta.0",
下载这个版本的
20
相似问题