-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
warn about root paths without a leading slash #2550
Closed
MatiasOlivera opened this issue
Dec 24, 2018
· 3 comments
· Fixed by #2591, mariazevedo88/hash-generator-js#5, noprotocol/Bubblicious#3, drakeg/udemy_django_vue#14 or tghelere/valorize-vidas#4
Closed
warn about root paths without a leading slash #2550
MatiasOlivera opened this issue
Dec 24, 2018
· 3 comments
· Fixed by #2591, mariazevedo88/hash-generator-js#5, noprotocol/Bubblicious#3, drakeg/udemy_django_vue#14 or tghelere/valorize-vidas#4
Comments
Can I work on this? |
Sayegh7
added a commit
to Sayegh7/vue-router
that referenced
this issue
Jan 22, 2019
Sayegh7
added a commit
to Sayegh7/vue-router
that referenced
this issue
Jan 22, 2019
Would be nice to see a note in the docs about how slashes should be used in routes.. or did I miss one? |
Any update on this? I think it's should be mentioned in docs if leading slash (in path) is mandatory. |
posva
pushed a commit
that referenced
this issue
Aug 30, 2019
* fix(create-matcher): warn about root paths without a leading slash close #2550 * fix(create-route-map): warn about root paths without a leading slash close #2550 * fix(create-route-map): only warn about first route without slash * fix(create-route-map): handle case of '' route * fix(create-route-map): remove leftover console.log * fix(create-route-map): warn about root paths only * fix(create-route-map): show prettier warning message
This was referenced Sep 30, 2019
This was referenced Oct 26, 2019
This was referenced Dec 5, 2019
This was referenced Jan 20, 2020
This was referenced Feb 5, 2020
This was referenced Feb 6, 2020
[Snyk] Upgrade vue-router from 3.0.1 to 3.1.4
michaelwybraniec/vue-vuex-jwt-authentication-example#2
Open
This was referenced Feb 20, 2020
This was referenced Mar 1, 2020
This was referenced Mar 19, 2020
This was referenced Mar 28, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.5.3
Reproduction link
https://codesandbox.io/s/6zvmx5lorr
Example
Steps to reproduce
What is expected?
I spent some time trying to understand what the problem was, so it would be nice to see a warning message telling that the route is invalid because doesn't have the initial slash.
What is actually happening?
The router goes to a route that doesn't exist.
The text was updated successfully, but these errors were encountered: