Closed ace-of-aces closed 11 months ago
ReadMe Update for Module Behavior Modification
Added a new section in the README.md file with details on how to modify the default behavior of the module. This is accomplished by adjusting the nuxtIcon.iconifyApiOptions.url
and nuxtIcon.iconifyApiOptions.publicApiFallback
property settings.
Dependency Version Uplift
Updated the @nuxt/devtools
dependency in the package.json file from version 0.8.5 to 1.0.0. This update brings the benefits of the latest stable version.
New Properties in module.ts
Added two new properties in the module.ts
file. These properties - iconifyApiOptions.url
and iconifyApiOptions.publicApiFallback
allow for setting a custom Iconify API URL and establishing a public Iconify API as a fallback.
Improvements to Icon.vue file
The Icon.vue file now allows users to import and use the addAPIProvider
function from the @iconify/vue
package. It has an added feature that verifies and accepts the Input Iconify API URL. This change allows for the use of custom API.
**Enhancements to IconCSS.vue file` The IconCSS.vue file has been updated with features that authenticate and accept custom Iconify API URL. This not only enables the use of custom API but also sets the base URL for the icon URL as per user requirements.
Acknowledges #34
Calls
addAPIProvider()
from@iconify/vue
internally. 👉🏻 Reference