马宇豪
2023-12-14 cc4749faaa9a2bd9660e7b827e46f30a74043028
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);
        }
    },
};