2025-03-31 15:26:29 +00:00
|
|
|
|
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";
|
2025-06-21 12:00:17 +00:00
|
|
|
|
import FitScreen from "@fit-screen/vue";
|
2025-03-31 15:26:29 +00:00
|
|
|
|
// 全局事件总线(bus)
|
|
|
|
|
|
Vue.prototype.$bus = new Vue({});
|
2025-06-21 12:00:17 +00:00
|
|
|
|
Vue.use(FitScreen);
|
2025-03-31 15:26:29 +00:00
|
|
|
|
new Vue({
|
|
|
|
|
|
router,
|
|
|
|
|
|
store,
|
|
|
|
|
|
render: (h) => h(App)
|
|
|
|
|
|
}).$mount("#app");
|