V8: how is custom paths supposed to work? #1691
Answered
by
kazupon
niklasfjeldberg
asked this question in
Q&A
-
I am trying out the latest version of V8 and I wonder if this is how custom paths are supposed to work, or if there is a bug. Appreciate any advice. Default language is
The following is the result when using
I am expecting that |
Beta Was this translation helpful? Give feedback.
Answered by
kazupon
Dec 5, 2022
Replies: 1 comment 3 replies
-
v8 custom paths are implemented in the same spec as v7. As mentioned in this issue. localePath({ name: 'recipes' }) -> /en/recipes
localePath({ name: 'recipes' }, 'no') -> /oppskrifter
localePath({ name: 'recipes' }, 'en') -> /en/recipes |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
niklasfjeldberg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
v8 custom paths are implemented in the same spec as v7. As mentioned in this issue.
unfortunately, it only works with named routes.
#641