hannoeru / vite-plugin-pages

File system based route generator for ⚡️Vite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`next` route style doesn't seem to support `Optional catch all routes`

jiangmaniu opened this issue · comments

Describe the bug

I tried using next style Optional catch all routes but it doesn't seem to work

image

image

expected goal

Can match both /redirect and /redirect/:all(.*)

Reproduction

x

System Info

x

Used Package Manager

pnpm

Validations

  • Follow the Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A please open a GitHub Discussion.
  • The provided reproduction is a minimal reproducible example of the bug.

This feature is currently not supported.