Subscribe on changes!

Router bug with params

avatar
Jun 24th 2021

Version

3.0.4

Reproduction link

[https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuIDxyb3V0ZXItbGlua1xuXHRcdDp0bz1cInsgbmFtZTogcm91dGVOYW1lcy5zZXR0aW5ncyB9XCJcblx0PlxuXHRcdFNldHRpbmdzXG5cdDwvcm91dGVyLWxpbms XG48L3RlbXBsYXRlPlxuIn0=](https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHRlbXBsYXRlPlxuIDxyb3V0ZXItbGlua1xuXHRcdDp0bz1cInsgbmFtZTogcm91dGVOYW1lcy5zZXR0aW5ncyB9XCJcblx0PlxuXHRcdFNldHRpbmdzXG5cdDwvcm91dGVyLWxpbms XG48L3RlbXBsYXRlPlxuIn0=)

Steps to reproduce

I have a router link that binds to the named router but when I click on this link I have this message in the console Error: No match for {"name":"settings","params":{}} , but I don't have params in my link (router-link :to="{ name: routeNames.settings }")

What is expected?

Routing via links

What is actually happening?

Error in console and link don't work

avatar
Jun 24th 2021

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.