## 参考:[https://github.com/ecomfe/vue-echarts/blob/main/README.zh-Hans.md]() ### 版本:vue-cli3 vue2.6 * "vue-echarts": "^4.1.0" * "echarts": "^5.1.1" ### 单页引用 ![](https://img.kancloud.cn/b8/fc/b8fc848d07239585f03a7eaad2ccaa75_771x441.png) ### 注册组件,template中使用 ``` <v-chart :options="" /> ... components: { 'v-chart': VChart } ``` ### vue.config.js 配置 ``` // 兼容ie transpileDependencies: [ 'vue-echarts' ], ```