Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routes rules should allow regex matchers #23361

Closed
3 of 4 tasks
igbominadeveloper opened this issue Sep 22, 2023 · 1 comment
Closed
3 of 4 tasks

Routes rules should allow regex matchers #23361

igbominadeveloper opened this issue Sep 22, 2023 · 1 comment

Comments

@igbominadeveloper
Copy link

igbominadeveloper commented Sep 22, 2023

Describe the feature

For example, I have two routes, users/add and users/edit and I want to set ssr:false for both, right now, I have to define them both separately like this:

'/users/add/**': {
    ssr: false,
  },
'/users/edit/**': {
    ssr: false,
  },

What would be nice is to be able to do this:

'/users/(add|edit)/**': {
   ssr: false,
 }

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

Copy link
Member

let's track in unjs/rou3#51.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants