自定义APP自定义App数据通讯
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.
 
 
 
 

29 lines
841 B

import { createApp } from 'vue'
import 'font-awesome/css/font-awesome.min.css'
import '@/assets/css/reset.css'
import '@/assets/css/public.css'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/dist/index.css'
// 本地SVG图标
import 'virtual:svg-icons-register';
import { setupStores } from '@/utils/pinia/stores/index'
import router from "@/utils/router/index"
import AppLowCode from '@/utils/lowCode/index'
import App from './App.vue'
const app = createApp(App)
setupStores(app)
app.use(ElementPlus, {
locale: zhCn
})
app.use(router)
app.use(AppLowCode)
// app.use(pinia.stores)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
app.component(key, component)
}
app.mount('#app')