Hi Kristian,
I'm taking over this thread from Fares.
- Can you try, in your nuxt config file, to remove :
mode: 'universal',
and add:
target: "static",
-
Next remove
'@/modules/static',
and'@/modules/crawler',
from your modules. These aren't needed with the latest versions of Nuxt. -
Remove the
modern
config from the Prismic object , it causes issues as described here. -
Then at the end of the file add this fallback:
generate: {
fallback: "404.html" // Netlify reads a 404.html, Nuxt will load as an SPA
}
Hopefully these changes should help.
Thanks.