github nuxt/icon v1.0.0-beta.1

latest releases: v2.0.0, v1.15.0, v1.14.0...
16 months ago

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

  • <Icon> and <IconCSS> is merged together, use <Icon mode="svg"> and <Icon mode="css">
  • <Icon> now default using css mode, (set icon.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 to icon
  • App config schema changes
    • iconifyApiOptions has been removed
    • iconifyApiOptions.url -> iconifyApiEndpoint
    • iconifyApiOptions.publicApiFallback -> fallbackToApi (default: true)

Don't miss a new icon release

NewReleases is sending notifications on new releases.