zhangwencui
3 天以前 06218ac82891facefc6f36e57a1dfc6b3998540d
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)
    }
  }
}