增加路由和material图标

This commit is contained in:
Gary Fu
2023-12-24 15:42:48 +08:00
parent f4f25798b9
commit 9b777948c9
16 changed files with 242 additions and 45 deletions

View File

@@ -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)
}
}
}