Home

Issue: 2842

Can't seem to get a 404.html error page to generate correctly

[issue link]

When I’m in development mode, the 404 page works like a charm. I have a really simple version that I’m trying to accomplish. When I generate to go live, the 404 page seems to show part of my home page for some reason? I also have it in my nuxt.config.json file to spit out a 404.html page, and I can’t seem to generate a 404.html file – I get the 200.html file every time. I’ve also tried setting generate.fallback to true with the same result. I think I might just be doing something dumb.

Here is an image of the error.vue file

image

and here is an image of my config

image

This question is available on Nuxt.js community (#c2468)