月球大数据地理空间分析展示平台-【前端】-月球2期前端
surprise
2023-10-31 b4bffdef9d944ee0982a08e0ea06b5a4a2f829d0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementPlus from "element-plus";
import locale from "element-plus/es/locale/lang/zh-cn";
import "element-plus/dist/index.css";
// import "default-passive-events";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
//base css样式
import "./assets/css/global.css";
//自适应
import "amfe-flexible/index";
// import zhlocale from "element-plus/lib/locale/lang/zh-cn";
 
//粒子特效
import VueParticles from "vue-particles";
import Drag from "./utils/drag";
import resizable from "./utils//resizable";
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
 
app
  .use(ElementPlus, { locale })
  .use(store)
  .use(router)
  .use(VueParticles)
  .use(Drag)
  .use(resizable)
  .mount("#app");