import * as echarts from 'echarts'; import 'leaflet' window.echarts = echarts;