Replies: 1 comment
-
I use ts-routes for this. Would definitely be nice for autogeneration, but it also hasn't been too much hassle to manage on my own with this lib. |
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.
-
Generate
.svelte-kit/routes.ts
from the dir treesrc/routes
so that it's easier toredirect
at server-side andgoto
at client-side and less likely to get to the wrong route.Example routes.ts
Beta Was this translation helpful? Give feedback.
All reactions