15 lines
342 B
JavaScript
15 lines
342 B
JavaScript
import * as AIcons from '@ant-design/icons-vue'
|
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
|
|
export default {
|
|
install(app) {
|
|
for (let icon in AIcons) {
|
|
app.component(`A${icon}`, AIcons[icon])
|
|
}
|
|
|
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
app.component(`${key}`, component)
|
|
}
|
|
},
|
|
}
|