qirong
2024-01-19 b56e85165dd4fa9cb868aec83370c046adfa7950
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);
    }
  }
};