diff --git a/Dkl-vue3-ui-DP/src/components/SvgIcon/index.vue b/Dkl-vue3-ui-DP/src/components/SvgIcon/index.vue new file mode 100644 index 0000000..8c101f6 --- /dev/null +++ b/Dkl-vue3-ui-DP/src/components/SvgIcon/index.vue @@ -0,0 +1,53 @@ + + + + + diff --git a/Dkl-vue3-ui-DP/src/components/SvgIcon/svgicon.js b/Dkl-vue3-ui-DP/src/components/SvgIcon/svgicon.js new file mode 100644 index 0000000..4431719 --- /dev/null +++ b/Dkl-vue3-ui-DP/src/components/SvgIcon/svgicon.js @@ -0,0 +1,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); + } + }, +};