Add console.warn for vue-router deprecation

pull/4419/head
Tuğçe Küçükoğlu 2023-09-08 14:56:33 +03:00
parent 7062dd4187
commit 5a1c14154b
1 changed files with 5 additions and 0 deletions

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();