警告信息
## SEO
“export ‘default‘ (imported as ‘echarts‘) was not found in ‘echarts‘
引入 echarts 5.0
编译后,出现如下图所示警告(waring):
出现问题行:import echarts from ‘echarts’;
## 正确写法
import * as echarts from 'echarts';
## 或者 ↓
const echarts = require('echarts');