wildcard routes should also handle index by default
Context: https://github.com/nuxt/nuxt/issues/18571
When creating routes/test/[...path].ts, it will only match /test/** but not /test. This is because route matching is running in strict mode and makes a different between these two.
A workaround would be creating routes/test/index.ts with export { default } from './[...path']
I think as an enhancement for DX, we should have a default behavior for doing this.
is there any timeline on when this is going to be resolved?
why is this even a thing?
it seems like radix3 handles this "correctly".
I couldn't find the strict mode you noted as the reason. The only thing I found was strictTrailingSlash of radix3 and this doesn't seem to be causing the behavior
btw thanks for the great work