Closed
Description
Version
2.5.2
Reproduction link
https://github.com/fandaa/vue-router-bug/commits/master
Steps to reproduce
- Clone repo
npm i
andnpm run dev
- Navigate to
http://localhost:8080/x
and 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.