Newer
Older
KaiFengPC / src / components / SvgIcon / svgicon.js
@zhangdeliang zhangdeliang on 23 May 275 bytes 初始化项目
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);
        }
    },
};