qirong
2024-02-28 f2ca7c5f9fbc4201b5a5bb490e43b1615b6a0dda
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);
    }
  }
};