diff --git a/Dkl-vue3-ui-DP/src/components/IconSelect/index.vue b/Dkl-vue3-ui-DP/src/components/IconSelect/index.vue new file mode 100644 index 0000000..517a4af --- /dev/null +++ b/Dkl-vue3-ui-DP/src/components/IconSelect/index.vue @@ -0,0 +1,111 @@ + + + + + \ No newline at end of file diff --git a/Dkl-vue3-ui-DP/src/components/IconSelect/requireIcons.js b/Dkl-vue3-ui-DP/src/components/IconSelect/requireIcons.js new file mode 100644 index 0000000..ac22fd7 --- /dev/null +++ b/Dkl-vue3-ui-DP/src/components/IconSelect/requireIcons.js @@ -0,0 +1,8 @@ +let icons = [] +const modules = import.meta.glob('./../../assets/icons/svg/*.svg'); +for (const path in modules) { + const p = path.split('assets/icons/svg/')[1].split('.svg')[0]; + icons.push(p); +} + +export default icons \ No newline at end of file