Nuxt Icon v2.6.0

nuxt/icon
Share
Summary
Nuxt Icon v2.6.0 introduces the ability to set different providers for SSR and client-side rendering, enhancing flexibility. Additionally, there are important behavior changes regarding the resolution of custom collection directories, which now depend on the declaring layer. Several bug fixes improve caching, collection handling, and remote request deduplication.

Full release notes

   🚀 Features

  • provider can now be set separately for SSR and the browser: provider: { server: 'server', client: 'iconify' }. A string works as before. (#541)
  • Behavior change: a relative dir in customCollections / serverBundle.collections declared in a Nuxt layer now resolves against that layer's directory instead of the app's rootDir. If a base layer declared a collection and expected each app to supply the SVGs, declare it in the app or use an absolute path. (#530)

   🐞 Bug Fixes

    View changes on GitHub

Latest Nuxt Icon releases

All releases