Replies: 2 comments 3 replies
-
|
Recently, I used |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
Good spot! 2 useful things to add:
So if you have
|
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.
-
Hello all, I was trying to use getStaticPaths in a page with dynamic route catch all paths [...id].js and my website has two langues ar and en
this is my code to create the paths array
I get this error
paths generated
I tried to switch the fallback value [true, false, blocking] but it doesn't help
the same code is working perfectly if I changes the page to dynamic route [id].js instead of catching all paths [...id].js
I found a work around but I don't know if it will be affect the performance or the SEO
it was basically wrap the id in params with [] to be array here is the code 👇🏼
here's the paths generated
could anyone advice me if faced the same problem before?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions