vue使用echarts

vue使用echarts

第一步 安装
//安装最新版
npm install echarts --save
//安装指定版本
npm install echarts@4.9.0 --save
第二步 引用
//在需要使用echarts文件中引用
import echarts from 'echarts'
posted @ 2021-03-22 10:13  dzyany  阅读(24)  评论(0编辑  收藏  举报