import '@/assets/css/main.css'
import "@/assets/css/common.less"
import 'animate.css';
import 'element-plus/dist/index.css'
import { createApp } from 'vue'
import ElementPlus from 'element-plus'

import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from '@/router/index.ts'
import http from "@/utils/http.js"


const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.config.globalProperties.$http = http
app.use(createPinia())
app.use(router)
app.use(ElementPlus)

app.mount('#app')
