1.

    

cnpm install echarts -S

vue.js-使用echarts图表

2.test.vue

    

import echarts from 'echarts'

3.

<div id="myChart"></div>

let myChart = echarts.init(document.getElementById('myChart'))
myChart.setOption({})

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2018-10-22
  • 2021-11-07
  • 2021-11-22
  • 2021-09-26
  • 2022-12-23
猜你喜欢
  • 2021-12-22
  • 2021-06-25
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
  • 2022-12-23
相关资源
相似解决方案