mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-08 19:02:28 +03:00
14 lines
284 B
JavaScript
14 lines
284 B
JavaScript
import DatePicker from './index.vue'
|
|
import './index.scss'
|
|
|
|
DatePicker.install = function (Vue) {
|
|
Vue.component(DatePicker.name, DatePicker)
|
|
}
|
|
|
|
/* istanbul ignore if */
|
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
DatePicker.install(window.Vue)
|
|
}
|
|
|
|
export default DatePicker
|