Vue.js进阶【8】vue使用echarts

Vue.js进阶文章列表

Vue.js进阶【4-0】用vue-cli 命令

命令行安装

npm install echarts --save

main.js

// 引入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts

HelloWorld.vue







 

你可能感兴趣的:(Vue.js进阶教程)