fix: 🐛 Tips unavailable

This commit is contained in:
viarotel 2024-05-08 11:22:09 +08:00
parent 9f1696f289
commit 603e4e98d2

View File

@ -1,12 +1,21 @@
import * as ElementPlusIcons from '@element-plus/icons-vue'
import { ElLoading, ElMessage, ElMessageBox } from 'element-plus'
import 'element-plus/theme-chalk/el-loading.css'
import 'element-plus/theme-chalk/el-message.css'
import 'element-plus/theme-chalk/el-message-box.css'
import 'element-plus/theme-chalk/dark/css-vars.css'
import './restyle.css'
import * as ElementPlusIcons from '@element-plus/icons-vue'
export default {
install(app) {
for (const [key, component] of Object.entries(ElementPlusIcons)) {
app.component(key, component)
}
app.use(ElMessage)
app.use(ElMessageBox)
app.use(ElLoading)
},
}