How do I encapsulate useFetch and $fetch - Nuxt