zhangwencui
6 天以前 ba79a3ec46100b75675d0a7b5b9bb1b8a0b6e349
1
2
3
4
5
6
7
8
9
10
import * as components from '@element-plus/icons-vue'
 
export default {
  install: (app) => {
    for (const key in components) {
      const componentConfig = components[key]
      app.component(componentConfig.name, componentConfig)
    }
  }
}