Newer
Older
KaiFengPC / src / components / SvgIcon / svgicon.js
@zhangdeliang zhangdeliang on 20 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);
        }
    },
};