-1👍
var elm = new Vue({
el: '.app8',
mounted () {
var vm = this
$('#datedate').datepicker ({
onSelect: function(dateText) {
vm.date = dateText
}
})
});
<div class="row mt-5">
<div class="col">
<div class="app8">
<input v-model="date" name="date" class="input" type="date" id="datedate">
</div>
</div>
</div>
Hope this will help
- [Vuejs]-Get Started with RxJS in Vue
- [Vuejs]-Nuxt & Firebase – IE 11 (Object doesn't support property or method 'values')
Source:stackexchange.com