NuxtN
Nuxt3y ago
3 replies
Flinty

Custom Error Page

Hey, I want to redirect the user to an error page if a server side API request fails. How can I do this?

I've looked at the createError method, but how can I make the error page custom? I tried adding error.vue to my root directory, pages and layouts folders, with no luck
Was this page helpful?