import Vue from 'vue' import App from './App.vue' import router from './router' // 将自动注册所有组件为全局组件 import dataV from '@jiaminghi/data-view' import * as echarts from 'echarts' Vue.config.productionTip = false // 注册 echarts Vue.prototype.$echarts = echarts Vue.use(dataV) new Vue({ router, render: h => h(App) }).$mount('#app')