Nested Dynamic routes
It's probably my fault, but I can't find a solution! So my problem is that I have following structure:
And following code to each file.
index.tsx
$postId.tsx
$postId.edit.tsx
but when I reach to
http://localhost:3001/posts/24/edit the output is Hello posts.$24.tsx but it should be: Hello posts.${postId}.edit.tsx it's like *.edit.tsx doesn't work for some reason... But when I did same things with FLAT ROUTES it worked fine. Why is that?