mirror of https://gitee.com/godoos/godoos.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
696 B
24 lines
696 B
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
|
|
//svg插件需要配置代码
|
|
import ElementPlus from 'element-plus';
|
|
import 'element-plus/dist/index.css';
|
|
import { createApp } from "vue";
|
|
import screenShort from "vue-web-screen-shot";
|
|
import App from "./App.vue";
|
|
import './assets/windows10.scss';
|
|
import { i18n } from './i18n/index.ts';
|
|
import pinia from './stores/index.ts';
|
|
import router from './system/router';
|
|
const app = createApp(App)
|
|
|
|
app.use(router)
|
|
app.use(ElementPlus)
|
|
app.use(pinia)
|
|
app.use(i18n)
|
|
|
|
app.use(screenShort, { enableWebRtc: true })
|
|
|
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
app.component(key, component)
|
|
}
|
|
app.mount("#app");
|
|
|