Feature Request - support for i-mdi-home "unocss" format
TechAkayy opened this issue · comments
Nuxt-Icon currently follows mdi:home
which is iconify
format.
Nuxtlabs/ui follows i-mdi-home
which is unocss
format.
Icones, unocss support using multiple formats.
Would be great to have support to use unocss
format in Nuxt-Icon in addition to the current iconify
format, so that it can be used when working on other libraries which uses the "unocss" format.
We actually use @iconify/vue
to load the icon with the name: https://github.com/nuxt-modules/icon/blob/022d563466c6782159a8295714536ed98a1e563a/src/runtime/Icon.vue#L53
It does support mdi:home
and mdi-home
so I guess we can add a way to remove i-
prefix to support unocss
format.