Mike
How to get headers in Nuxt middleware?
Have you tried this? https://nuxt.com/docs/api/composables/use-request-headers
2 replies
How to fetch properly ?
Looks like there's an ssl error on that site. Try fetching https://httpbin.org/get to see if that works
8 replies
Shareable custom useAsyncData composable
I found this video quite helpful, when implementing something similar https://www.youtube.com/watch?v=aQPR0xn-MMk
TLDW: Use
getCachedData
on useAsyncData
6 replies
Language Switcher (i18n) does not update components
so
useRetrieveDataFind
is dependent on locale? Try adding locale
to watch
params: https://nuxt.com/docs/api/composables/use-async-data#watch-params8 replies
Typing a custom `useFetch` to include null
I've created a draft PR here: https://github.com/nuxt/nuxt/pull/28389
18 replies