NuxtN
Nuxt2y ago
SKUPLE

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?
Was this page helpful?