摘要: 1.搭建vue-cli项目 2.安装echarts $ yarn add echarts 3.main.js引入echarts 1 import echarts from 'echarts' 2 Vue.prototype.$echarts = echarts // 把echarts挂载到Vue原型 阅读全文
posted @ 2020-09-17 17:27 心心眼 阅读(472) 评论(0) 推荐(0) 编辑