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
Usually, we need only 'category_alias' as the value when matching '/category/category_alias.html'.
Upon reviewing the @solidjs/router code, it seems that this change can be implemented with minor adjustments to the createMatcher function.
Or is it possible to achieve this without these changes?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Shouldn't routes that end with .html be possible using the following route path:
or perhaps with some brackets around
alias
?In the documentation, we have the :withHtmlExtension example here:
https://docs.solidjs.com/solid-router/concepts/path-parameters#validating-parameters
but in the end, we can't get the parameter without '.html' in its value.
Usually, we need only 'category_alias' as the value when matching
'/category/category_alias.html'
.Upon reviewing the @solidjs/router code, it seems that this change can be implemented with minor adjustments to the createMatcher function.
Or is it possible to achieve this without these changes?
Beta Was this translation helpful? Give feedback.
All reactions