shuinichang_/.history/src/main_20231213154445.js

23 lines
581 B
JavaScript

import Vue from "vue";
import App from "./App.vue";
import "./registerServiceWorker";
import router from "./router";
import store from "./store";
Vue.config.productionTip = false;
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
// 全局引入Echarts;
import * as echarts from "echarts";
import "echarts-gl";
import message from '@/utils/message.js';
Vue.prototype.$messages = message
// 然后挂载在vue原型上;
Vue.prototype.$echarts = echarts;
Vue.use(ElementUI);
new Vue({
router,
store,
render: (h) => h(App),
}).$mount("#app");