ecomfe / echarts-liquidfill

Liquid Fill Chart for Apache ECharts
https://ecomfe.github.io/echarts-liquidfill/example/
BSD 3-Clause "New" or "Revised" License
1.47k stars 620 forks source link

So how to use it in a vue-cli project? #95

Closed subdance closed 5 years ago

subdance commented 5 years ago

I wanna use it in Vue, so how should I import it to vue?

Ovilia commented 5 years ago

It has nothing to do with vue. Just make sure you imported echarts and liquildFill series. Typically, it should be:

import * as echarts from 'echarts';
import 'echarts-liquidfill';