I'm currently using the ElDatepicker component from element-ui and I am looking to customize its template and event handler method. I have attempted to achieve this within a single file component:
import Vue from 'vue';
import ElDatePicker from 'element-datepicker'
Vue.use(ElDatePicker)
var dpkr = Vue.component('ElDatePicker')
console.log(dpkr)
export default {
extends: ['ElDatePicker']
}
Unfortunately, my attempts have been unsuccessful. Any advice on how to successfully make these changes?
https://github.com/ElemeFE/element/tree/dev/packages/date-picker - link to component package