Custom error page from api response.
I'm trying to use
I'm using the
This is my project: https://stackblitz.com/edit/nuxt-starter-kwh5us?file=app.vue,error.vue
My code:
- app.vue
- server/api/foo.get.js
- error.vue
Is there something wrong in my code or it is a bug?
createError together with useFetch as documented here.I'm using the
createError function both on the server and the client, but I'm not redirected to the custom error.vue page.This is my project: https://stackblitz.com/edit/nuxt-starter-kwh5us?file=app.vue,error.vue
My code:
- app.vue
- server/api/foo.get.js
- error.vue
Is there something wrong in my code or it is a bug?

