odc.xiaohui
2023-12-04 76dcabed418e1b693fcb88d9c3d93a8f340f47a3
1
2
3
4
5
6
7
8
9
10
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
import { App } from 'vue';
 
export default {
  install: (app: App) => {
    for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
      app.component(key, component);
    }
  }
};