Get RouteId
string from a route at run/compiletime
#13253
Labels
feature / enhancement
New feature or request
RouteId
string from a route at run/compiletime
#13253
Describe the problem
I don't want to rely on magic strings to do my routing.
Describe the proposed solution
Alternatives considered
Currently I am doing
/foo/[bar]/baz/index.ts
Which is /okay/ becasue typescript tells me off if the route has changed, but it would be good if there was a builtin.
I'm currently using oob sveltekit so I'm not sure if there is an acceptable generalised solution for e.g. custom routing.
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: