npm i naive-echarts
import Vue from 'vue'
import NaiveEcharts from 'naive-echarts'
import 'naive-echarts/style.css'
Vue.use(NaiveEcharts) // This registers two components, EChart and NChart
import { EChart, NChart } from 'naive-echarts'
import 'naive-echarts/style.css'
export default {
components: {
EChart,
NChart,
},
}