Passing useFetch types onward
Trying to expand the useFetch to refresh api data upon receiving update from the server by doing stuff like this
everything works nice and fine except the data shows as Ref<unknown> on the other end instead of the automatically inferred useFetch type, is there anything i can do about this?
1 Reply
Nuxt
Custom useFetch in Nuxt · Recipes
How to create a custom fetcher for calling your external API in Nuxt 3.