pathMatcher&tokensToParser, There is an annoying warning on the console #2496
Replies: 1 comment
-
Duplicate of #359 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I looked through the source code and found that vue router uses parameter matching to implement a fallback mode routing similar to "*". This parameter can be named arbitrarily, but in development mode, the console will print a warning prompt "Discarded invalid param (s)". Although it does not affect the functionality, it is very confusing. Although the code was written according to the official tutorial, the warning was printed
Beta Was this translation helpful? Give feedback.
All reactions