export 'default' (imported as 'echarts') was not found in 'echarts'
vue在引入echarts是报警告:
解决方法在此记录下:
在导入echarts时使用
import * as echarts from 'echarts'
不要使用
import echarts from 'echarts'
这样就可以解决。
vue在引入echarts是报警告:
解决方法在此记录下:
在导入echarts时使用
import * as echarts from 'echarts'
不要使用
import echarts from 'echarts'
这样就可以解决。