export 'default' (imported as 'Echarts') was not found in 'echarts'【2023-04-12】

解决方式:将import 方式从

import Echarts from 'echarts'

改成

import * as Echarts from 'echarts'

你可能感兴趣的:(export 'default' (imported as 'Echarts') was not found in 'echarts'【2023-04-12】)