Closed TechAkayy closed 11 months ago
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.
Nuxt-Icon currently follows
mdi:home
which isiconify
format.Nuxtlabs/ui follows
i-mdi-home
which isunocss
format.Icones, unocss support using multiple formats.![image](https://github.com/nuxt-modules/icon/assets/73772701/16ee6d30-c03f-45e9-9811-fc8ecd696c42)
Would be great to have support to use
unocss
format in Nuxt-Icon in addition to the currenticonify
format, so that it can be used when working on other libraries which uses the "unocss" format.