Skip to content

Commit

Permalink
fix: 🐛 Tips unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed May 8, 2024
1 parent 9f1696f commit 603e4e9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/plugins/element-plus/index.js
Original file line number Diff line number Diff line change
@@ -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)
},
}

0 comments on commit 603e4e9

Please sign in to comment.