v1.0.0
This release introduces a brand new icon approach that works much better with SSR (no flicking on the client side) and should help reduce the load of Iconify's public API by a lot. Learn more at #154
Breaking Changes
- Package name changed from
nuxt-icon
to@nuxt/icon
<Icon>
and<IconCSS>
is merged together, use<Icon mode="svg">
and<Icon mode="css">
<Icon>
now default usingcss
mode, (seticon.defaultMode: 'svg'
to use the previous beahvor<IconCSS>
component is removed- Emoji-as-name is no longer supported
- Slot fallback is not supported yet
- App config key changed from
nuxtIcon
toicon
- App config schema changes
iconifyApiOptions
has been removediconifyApiOptions.url
->iconifyApiEndpoint
iconifyApiOptions.publicApiFallback
->fallbackToApi
(default: true)