Static GitHub Issues

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

prev: Axios Plugin: window is not defined
next: Unable to Lazy Load Functional Component

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

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2468">#c2468</a>)</em></sub></div>