You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Navigating to /test redirect the user to an error page. I'd like to reload the page using clearError with a redirect option however the user is not being redirected to the error page and the render fails since there's a throw in Test.vue.
Additional context
this issue might need a better title
Logs
No response
The text was updated successfully, but these errors were encountered:
FWIW, vue-router won't redirect to the same page, and even though the error page was handling it, the route was still /test - so you don't need to redirect. But that's not the issue.
The issue is that on client-side, we don't show a full screen error page but instead leave it to the user to handle errors with error boundaries, hooks, etc. If you want the full screen error page on client-side, then set fatal: true within your createError and you should be good to go.
Environment
Linux
v16.16.0
3.0.0-rc.11
0.5.4
yarn@3.2.2
vite
-
-
-
Reproduction
https://stackblitz.com/edit/nuxt-starter-cit83n?file=error.vue,pages%2Ftest.vue,app.
You'll be redirected to the error.vue, click on the reload button then a blank page should appear
Describe the bug
Hi 😃 , there's is a strange bug concerning
clearError
orcreateError
.This might be linked to #14805 ?
Navigating to /test redirect the user to an error page. I'd like to reload the page using clearError with a redirect option however the user is not being redirected to the error page and the render fails since there's a throw in Test.vue.
Additional context
this issue might need a better title
Logs
No response
The text was updated successfully, but these errors were encountered: