You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As is, iconify is great for free, public icon sets. For commercial purposes, you may want to use commercially licensed icon pack - the most popular example being Font Awesome Pro. Iconify already provides a way of converting custom icon packs into IconifyJSON definition. However, Including the whole IconifyJSON in the app is costly, it can easily weigh over 100 kB (raw). Therefore, iconify by default uses API provider to deliver only the requested icon definitions on demand. It is currently not possible to easily host your own icon packs definitions.
Feature Request
Since nuxt already hosts server routes, it would be great if the module could provide a streamlined method of hosting Iconify API provider. This way, the end-user could easily use their non-free icon packs benefiting from the on-demand architecture of iconifi's loadIcon.
Example module configuration could look like this:
Motivation
As is, iconify is great for free, public icon sets. For commercial purposes, you may want to use commercially licensed icon pack - the most popular example being Font Awesome Pro. Iconify already provides a way of converting custom icon packs into
IconifyJSON
definition. However, Including the wholeIconifyJSON
in the app is costly, it can easily weigh over 100 kB (raw). Therefore, iconify by default uses API provider to deliver only the requested icon definitions on demand. It is currently not possible to easily host your own icon packs definitions.Feature Request
Since nuxt already hosts server routes, it would be great if the module could provide a streamlined method of hosting Iconify API provider. This way, the end-user could easily use their non-free icon packs benefiting from the on-demand architecture of iconifi's
loadIcon
.Example module configuration could look like this:
To achieve this, the module would have to expose http API conforming to the Iconify API standard. The API is very straight forward
Example definition:
Example API response to
GET /api/iconify-provider/my-icons.json?icons=a,c
Module would have to register the custom provider with iconify library:
And the icons should be usable as per example:
The text was updated successfully, but these errors were encountered: