nuxt / icon

The <Icon> component, supporting Iconify, Emojis and custom components.
https://stackblitz.com/edit/nuxt-icon-playground?file=app.vue
MIT License
868 stars 37 forks source link

Support for i-mdi-home "unocss" format #115

Closed TechAkayy closed 8 months ago

TechAkayy commented 8 months ago

This is a follow-up of the previously implemented feature request - https://github.com/nuxt-modules/icon/issues/84

The correct format is i-mdi-home, but it looks like the feature was implemented to support i-mdi:home. The full list of formats can be found here - https://github.com/antfu/icones/blob/main/src/utils/case.ts#L35

image

Atinux commented 8 months ago

Not 100% sure that Iconify actually support this format when using it.

TechAkayy commented 8 months ago

No worries. The i-mdi:home format is good enough 👍🏽 thanks!

Atinux commented 8 months ago

With latest release, v0.6.3 you should be able to use the same format as UnoCSS without any issue!