Multiple favicons with useFavicon? #5056
-
|
I'd like to provide multiple favicon sizes to support different display resolutions. With useFavicon, I've attempted to provide an array of strings as a value and to define multiple instances of useFavicon. The former simply doesn't work while the latter appears to create the last one to have its value declared. Is there an official way to do this or would this be an enhancement request? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @peterh-capella! I'm Dosu and I’m helping the vueuse team. useFavicon doesn't support multiple favicons or sizes natively—it only manages a single To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
Looks like this is a case where https://unhead.unjs.io/ is taking over. Started looking at useHead and was directed there. From there it was easy to do this: |
Beta Was this translation helpful? Give feedback.
Looks like this is a case where https://unhead.unjs.io/ is taking over. Started looking at useHead and was directed there. From there it was easy to do this: