Add console.warn for vue-router deprecation

This commit is contained in:
Tuğçe Küçükoğlu 2023-09-08 14:56:33 +03:00
parent 7062dd4187
commit 5a1c14154b

View file

@ -85,6 +85,11 @@ export default {
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() {
this.updateInkBar();