import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import './styles/screen-theme.css'
import './style.css'
import App from './App.vue'
import router from './router'
import { displayEmpty } from '@/utils/displayEmpty'

document.documentElement.classList.add('dark')

const app = createApp(App)
app.config.globalProperties.$displayEmpty = displayEmpty
app.use(router)
app.use(ElementPlus, { locale: zhCn })
app.mount('#app')
