2023-11-10 17:45:10 +08:00
|
|
|
import { createApp, defineComponent, ref, reactive } from 'vue'
|
|
|
|
|
|
|
|
import main from './main.vue'
|
|
|
|
import router from './router'
|
2023-12-14 18:29:40 +08:00
|
|
|
import { createPinia } from 'pinia'
|
2023-11-10 17:45:10 +08:00
|
|
|
import ElementPlus from 'element-plus';
|
|
|
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
2023-12-27 16:49:37 +08:00
|
|
|
import TableAbility from '@/components/table-ability.vue'
|
2023-11-10 17:45:10 +08:00
|
|
|
|
2023-12-14 18:29:40 +08:00
|
|
|
import SliderVerify from 'slider-verify-v3'
|
|
|
|
import 'slider-verify-v3/lib/SliderVerify.css'
|
2023-11-10 17:45:10 +08:00
|
|
|
|
|
|
|
import 'element-plus/dist/index.css';
|
|
|
|
import './assets/css/global.scss';
|
2023-12-14 18:29:40 +08:00
|
|
|
import './assets/font/iconfont.css';
|
2023-12-15 18:08:45 +08:00
|
|
|
import '@/assets/css/custom-element.scss'
|
|
|
|
import '@/assets/css/animastore.css'
|
2023-11-10 17:45:10 +08:00
|
|
|
|
2023-12-27 16:59:20 +08:00
|
|
|
// import '@/utils/debugger'
|
2023-12-20 14:54:01 +08:00
|
|
|
|
2023-12-14 18:29:40 +08:00
|
|
|
const pinia = createPinia()
|
|
|
|
const app = createApp(main)
|
|
|
|
|
|
|
|
app.use(pinia)
|
|
|
|
app.use(SliderVerify)
|
2023-11-10 17:45:10 +08:00
|
|
|
|
|
|
|
app.use(router)
|
|
|
|
.use(ElementPlus) // ElementPlus 全局引入
|
|
|
|
|
2023-12-27 16:49:37 +08:00
|
|
|
app.component('TableAbility', TableAbility)
|
2023-11-10 17:45:10 +08:00
|
|
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
|
|
app.component(key, component)
|
|
|
|
}
|
|
|
|
|
|
|
|
app.mount('#app')
|