国际化、主题处理

This commit is contained in:
Gary Fu
2023-12-17 16:21:52 +08:00
parent d49cd6c1eb
commit 5adcc63839
8 changed files with 33 additions and 19 deletions

8
src/icons/index.js Normal file
View 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)
}
}
}