ly-front/src/main.js

21 lines
458 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
// 全局组件注册
import "@/components/index.js";
// 先引入element组件再引入css自定义主题才能生效
import "@/plugins/element";
// 样式加载
import "@/assets/css/index.scss";
// 全局事件总线bus
Vue.prototype.$bus = new Vue({});
new Vue({
router,
store,
render: (h) => h(App)
}).$mount("#app");