icon
icon copied to clipboard
[ nuxt-icon module ] How to prefetch my icons?
Hello guys... i need to prefetch my icons in my application.
There are a way to do this? I can't find anything about this in documentation.
Thans guys!
I am thinking to support this by leveraging a unplugin
plugin in order to know all the icons used in the Vue code to preload them.
Any help is welcome
Please find a small example on how to do it: https://stackblitz.com/edit/github-d95vfk?file=modules%2Fsafelister%2Funplugin.ts
It would be nice to have a configuration for the icon collection so that we can prefetch the icon collections we've specified.