We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
to
1 parent e4ba771 commit 70d60d4Copy full SHA for 70d60d4
src/components/link/Link.vue
@@ -3,6 +3,7 @@
3
:rel="computedRel"
4
:href="computedHref"
5
:target="target"
6
+ :to="to"
7
:tabindex="computedTabindex"
8
:class="[
9
active ? (exact ? exactActiveClass : activeClass) : '',
@@ -93,7 +94,7 @@ export default {
93
94
computedTag() {
95
return this.to
96
&& !this.disabled
- && Boolean(this.$parent.router) ? 'router-link' : 'a'
97
+ && Boolean(this.$parent.$router) ? 'router-link' : 'a'
98
},
99
computedRel() {
100
return this.target === '_blank'
0 commit comments