Nuxt 3 version is aligned with Vue 3 so you can leverage all the great features of Vue 3 such as Composition API, composables, and more. Nuxt already offers some of its functionality in a form of built-in composables like useFetch(), useState(), and useMeta(). For more information ...
Created aminimal reproduction on stackblitz, while the problem is, that stackblitz (and codesandbox) does not work on iOS (12). So I hope this is not a problem! But basically all you need to do is installing Nuxt 3 and open the page with an iOS device on iOS 12 or below. In the ...
However, you must use useRequestFetch() to make authenticated requests during SSR if you are not using useFetch() // When using useAsyncData const { data } = await useAsyncData('team', () => useRequestFetch()('/api/protected-endpoint')) // useFetch will automatically use useRequestFetch...
So useFetch ran on both the client and server.// This means that if you api endpoint (authTest in this case) is async and takes 3 seconds to respond,// the page wont load for 3 seconds (see useFetch versus useLazyFetch). Try it out!const{ data, refresh } =awaituseFetch("/api/aut...
However, you must use useRequestFetch() to make authenticated requests during SSR if you are not using useFetch() // When using useAsyncData const { data } = await useAsyncData('team', () => useRequestFetch()('/api/protected-endpoint')) // useFetch will automatically use useRequestFetch...
However, you must use useRequestFetch() to make authenticated requests during SSR if you are not using useFetch() // When using useAsyncData const { data } = await useAsyncData('team', () => useRequestFetch()('/api/protected-endpoint')) // useFetch will automatically use useRequestFetch...