Add console.warn for vue-router deprecation
parent
7062dd4187
commit
5a1c14154b
|
@ -85,6 +85,11 @@ export default {
|
||||||
this.d_activeIndex = newValue;
|
this.d_activeIndex = newValue;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
beforeMount() {
|
||||||
|
if (!this.$slots.item) {
|
||||||
|
console.warn('In future versions, vue-router support will be removed. Item templating should be used.');
|
||||||
|
}
|
||||||
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.updateInkBar();
|
this.updateInkBar();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue