局长信箱-互联网端管理-前端
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.
 
 
 
 

20 lines
608 B

import { createApp } from 'vue'
import router from './router/index'
import { createPinia } from 'pinia'
import App from './App.vue'
import IconComponent from '@/components/Icon.vue'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import piniaPersist from 'pinia-plugin-persist'
import './assets/style/style.scss'
import 'element-plus/theme-chalk/src/message.scss'
const app = createApp(App);
const p = createPinia().use(piniaPersist)
app.use(router)
.use(ElementPlus, { locale: zhCn })
.use(p)
.component('Icon', IconComponent)
.mount('#app')