We’re deploying a NUXT system on Layer0. I am having trouble creating a generic 404 page or having routes redirected to a certain route. Our nuxt config is set to have:
target: 'server',
ssr: true,
generate: {
fallback: '404.html',
},
I also took a bit of time to look through your documentation before reaching out but still not able to come up with a solution. Am I missing something simple in a way to redirect non found routes to a 404? Or is there something I can do in the routs.js file that could catch any unfound requests and redirect to a certain page?
Thank you in advance for your time.