Releases: nuxt/icon
Releases · nuxt/icon
v1.4.0
- chore: cleanup (2ba215f)
- feat: introduce
clientBundle.includeCustomCollections
option, #34 (#223) (5b373e4) - refactor: split files (313a5f2)
- fix: insert styles before first style tag (#218) (aa15b2a)
- chore: update deps (5993e11)
- fix: tolerant nullish icon name, fix #217 (cb44eed)
- chore: update deps (e696074)
- fix: support nitro preset detection in zero config environments (#216) (7587b2a)
v1.3.1
v1.3.0
v1.2.1
v1.2.0
v1.1.1
- chore: update scripts (6e4d7f9)
- fix: don't fail when scanning css rules from external stylesheets (#192) (ca451c8)
- docs: correct color example, fix #176 (f51af19)
- feat: switch default
provider
toiconify
whenssr: false
, fix #179 (de92533) - chore: update deps (16dad5c)
- feat: allow local endpoint path to be overridden with
icon.localApiEndpoint
(#191) (b05feee) - feat: graceful error handling of invalid svgs (#195) (27004c7)
- fix: missing json import attribute when importing iconify packages (#187) (e10740b)
- chore: indicate compatibility with nuxt v4 (#202) (4183555)
- docs: fix component example url (#198) (c93d15b)
- docs: typo (#182) (85a0e7b)
- docs: add docs for manual setup, close #177 (acd1f75)
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)