mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2025-12-09 20:37:48 +00:00
国际化、主题处理
This commit is contained in:
8
src/icons/index.js
Normal file
8
src/icons/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
||||
export default {
|
||||
install (app) {
|
||||
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
||||
app.component(key, component)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user