1👍
✅
The reason the links are going to localhost:8080/breed/:key/:ele
is because you are not interpolating the values. That shorthand is only for setting attributes on elements. You’d want to change your router-link
to look something like this:
<router-link :to="`/breed/${key}/${ele}`">
{{ele}} {{key}}
</router-link>
Source:stackexchange.com