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

Named catch-all route warns if `pathMatch` is empty #3072

Closed
posva opened this issue Dec 20, 2019 · 2 comments · Fixed by #3081 or sthagen/vue-router#6
Closed

Named catch-all route warns if `pathMatch` is empty #3072

posva opened this issue Dec 20, 2019 · 2 comments · Fixed by #3081 or sthagen/vue-router#6

Comments

@posva
Copy link
Member

@posva posva commented Dec 20, 2019

Version

3.1.3

Reproduction link

http://jsfiddle.net/yza5k02v/

Steps to reproduce

  • click on /nope
  • click on button

What is expected?

no warn

What is actually happening?

there is a warn


maybe the param should be marked as optional to prevent this warning from ever happening

@yinm

This comment has been minimized.

Copy link
Contributor

@yinm yinm commented Dec 24, 2019

Can I work on this?

@kazupon

This comment has been minimized.

Copy link
Member

@kazupon kazupon commented Dec 24, 2019

@yinm
You can contribute to it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.