0👍
The template contains:
<span class="d-block" id="itemsCountVue">@{{itemsCount}}</span>
itemsCount is not defined inside the vue data object, and it’s not defined as a computed property either.
You could try:
el: '#app1',
data: {
itemsCount: 0,
},
Then everywhere you’re setting nav.itemsCount also set this.itemsCount
- [Vuejs]-Vue. How to clear input file fields when switching radio buttons (vuetify component v-file-input)?
- [Vuejs]-Adding template in vue CLI
Source:stackexchange.com