VTag: Use computed property for router link
igeligel opened this issue · comments
Kevin Peters commented
<router-link
:to="{ name: 'home-tag', params: { tag: name } }"
:class="className"
>
Ideally, { name: 'home-tag', params: { tag: name } }
should be a computed property and then used like:
<router-link
:to="homeLink"
:class="className"
>
Related resources:
Kyle Rodgers commented
I can tackle this if you don't mind.
Kyle Rodgers commented
PR at #224
Andri Firmansyah commented
Use computed property for router link #231