摘要:
1、在项目下使用命令行,初始化工程的 npm 环境并安装 echarts(这里前提是您已经安装了 npm) npm init npm install echarts --save 2、全局引入 main.js import Vue from 'vue' //全局引入echarts import * 阅读全文
posted @ 2021-12-29 10:21
从入门到入土
阅读(13843)
评论(0)
推荐(1)
摘要:
解决方法: 1、将 import echarts from 'echarts'; 改为 import * as echarts from 'echarts'; 2、重装Echarts,卸载掉Echars5.x,装Echarts4.x,同样可以解决问题。 原文链接:(8条消息) 解决“export ‘ 阅读全文
posted @ 2021-12-29 10:11
从入门到入土
阅读(660)
评论(0)
推荐(0)

浙公网安备 33010602011771号