mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2025-12-10 04:47:50 +00:00
增加路由和material图标
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
||||
import * as MaterialIconsVue from '@vicons/material'
|
||||
export default {
|
||||
install (app) {
|
||||
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
||||
app.component(key, component)
|
||||
}
|
||||
for (const [key, component] of Object.entries(MaterialIconsVue)) {
|
||||
app.component(key, component)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user