useFetch in error.vue (SSG)
Hey everyone,
I couldn’t find any example or anything on the docs regarding this, but I’m trying to have 2 useFetch on my error.vue.
Everything looks fine locally or SSR but in SSG (with appManifest) it tries to call useFetch instead of using an existing payload this fails the request because there is no server in our SSG app.
Anyone has faced something similar or knows why this is happening?
1 Reply
That's basically https://github.com/nuxt/nuxt/issues/18718
GitHub
support prerendering error pages · Issue #18718 · nuxt/nuxt
Describe the feature Use case: Trying to use Nuxt3 as a static site generator, in combination with a headless CMS. Setup: error.vue in project root, shared navbar/footer in layout/default.vue (wher...