vue-router
vue-router copied to clipboard
case-insensitive on isActive property
Version
3.5.3
Reproduction link
Steps to reproduce
- Run
yarn run dev
in the root path of the project - Go to http://localhost:8080/active-links/abouT
What is expected?
The "/about" will be treated as active.
What is actually happening?
The "/about" is not treated as active.
Since Vue Router already supports case-insensitive matching for routes themselves. I think it should be the same for the active match to be case-insensitive too.
Provide a valid repro please
I think using a website like CodePen to build a minimal reproducible environment seems to be low-benifit and troublesome because we can directly use the existing example files(repo's /examples/activeLinks folder and so on) of the repo to reproduce. Just run yarn run dev
(or node examples/server.js
) and go to http://localhost:8080/active-links/abouT will reproduce the issue
Aah, I couldn't guess you were talking about the repository examples!
Aah, I couldn't guess you were talking about the repository examples!
Sorry that I didn't make it clear😂