Angular9 引入echarts

在组件的module中引入

import { NgxEchartsModule } from 'ngx-echarts';
import * as echarts from 'echarts';
 
imports: [NgxEchartsModule.forRoot({ echarts })]

posted on 2020-08-13 17:54  zhangfeitaimengle  阅读(440)  评论(0编辑  收藏  举报

导航