mahnouel
SSG deployment on vercel is not prerendering / generating html files
Vercel seems to do some kind of magic, which results in a difference between local builds and the build output visible on vercel.
We're not sure what exactly happens, but: at vercel
[...slug].vue
work when visited from the root, but not when visited directly.
It seems this might be, because at vercel there is only the _payload.json
in the <slug>/
directory, but no index.html
any help or pointer would be greatly appreciated, thanks 🙂1 replies
Nuxt 3 SSR Output still refetches content, even though `fetchAsyncData` is used
I've tried
(uses nuxt-directus)
and
I build via
nuxt generate
But when I open the generated files on a static server, I see requests to the endpoints when I reload the page / navigate to it. I just can't find out why.
I've also tried to use the full-static package, and a lot of other things - but I can't get it to work...5 replies