odc.xiaohui
2023-12-20 a03fd5263165ac18a7bbc0e7de6795f9c79db897
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);
    }
  }
};