Replies: 2 comments 1 reply
-
Can you use goto('/') in |
Beta Was this translation helpful? Give feedback.
1 reply
-
Is this the official answer to this problem? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Previously I would export a load function inside
__error.svelte
which would contain a redirect back to/
.With the latest changes, there is no longer the ability to use a load function with
+error.svelte
.How might I now implement a redirect back to
/
when a user visits a non existent route?Beta Was this translation helpful? Give feedback.
All reactions