-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Description
Version
2.5.2
Reproduction link
https://github.com/fandaa/vue-router-bug/commits/master
Steps to reproduce
- Clone repo
npm iandnpm run dev- Navigate to
http://localhost:8080/xand click ongo to y
What is expected?
Browser navigated to route /y.
What is actually happening?
Getting TypeError: Cannot assign to read only property 'path' of object '#<Object>' as error.
You can try to start at http://localhost:8080/y and try to navigate to /x by clicking on links with go to x using as a prefix.
vue-router seems to not cooperate with [email protected], it works just fine within my project using [email protected].
The problem is only with named routes, you can try http://localhost:8080/a, where you can navigate to /b and vice-versa without any difficulty.
kchung, JounQin, guAnsunyata and iamphc