mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Add console.warn for vue-router deprecation
This commit is contained in:
parent
7062dd4187
commit
5a1c14154b
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue