[Vuejs]-Customize vuejs datepicker for bootstrap 3

2👍

indeed, you can’t. From the source code of your plugin: https://github.com/wxsms/uiv/blob/master/src/components/datepicker/DateView.vue

2018 April is coded as <b>{{yearMonthStr}}</b>. This is a computed property defined as follow:

yearMonthStr () {
    return isExist(this.month) ? `${this.year} ${this.t(`uiv.datePicker.month${this.month + 1}`)}` : this.year
},

So as you say, it’s complicated and you might have to modify the plugin. You could make a pull request to the project adding an option to the component to customize the month.

Leave a comment