Omnislash
Dealing with useFetch / useAsyncFetch with headers and baseUrl
If you don't need to complicate it too much for your needs, the best is most likely to just follow this nice nuxt recipe to achieve it : https://nuxt.com/docs/guide/recipes/custom-usefetch#custom-usefetch
11 replies
Dealing with useFetch / useAsyncFetch with headers and baseUrl
If you are into something fully SEO friendly or for any other reason with high SSR consideration, I guess it's better to follow the path but I couldn't explain why exactly ^^
11 replies
Dealing with useFetch / useAsyncFetch with headers and baseUrl
That being said, I heard Pinia is powerful and useful with SSR consideration.
Personally, I consider it too big and complicated to be worth maintaining if you don't need something sophisticated
11 replies