ronaldkonjer
Redirect to parent on error
For now i managed to improve this functionality by moving the redirect logic form the generic error.vue page to the ofetch factory where i use the onResponseError interceptor to get the status of the response. If that is 404 we apply the navigateTo logic. Otherwise we create an Nuxt3 error.
2 replies