Skip to content

Commit 752dd3a

Browse files
authored
Merge pull request bootstrap-vue#201 from gpyh/fixes
b-button: Remove warning by importing b-link
2 parents c717f9c + 5724116 commit 752dd3a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/components/button.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
</template>
66

77
<script>
8+
import bLink from './link.vue';
9+
810
export default {
11+
components: {
12+
bLink
13+
},
914
computed: {
1015
classObject() {
1116
return [
@@ -18,7 +23,7 @@
1823
];
1924
},
2025
componentType() {
21-
return (this.href || this.to) ? 'b-link' : 'button';
26+
return (this.href || this.to) ? bLink : 'button';
2227
},
2328
btnBlock() {
2429
return this.block ? `btn-block` : '';

0 commit comments

Comments
 (0)