Custom 404, using Nuxt 3


As I read in the docs there’s an easy way to create a custom 404, just add a 404.html file in the root.

Since I’m using Vue 3 (Nuxt 3), there’s no 404.html but I can easily create a /404 page.
Then as suggested in the docs again, I would do a redirect.

from = "/*"
to = "/404"
status = 404

Now you can guess the problem, this isn’t working either. Anyone who found a solution for this?

We would probably need to see the site to provide any useful information. This is too little to go on with.