Vue Date Range Picker Component
!npm versionnpm-v-imgnpm-url
!npm downloadnpm-dl-imgnpm-urlIntellectual property of Oneway.mobi
Notice
This component is not meant to meet all the business requirementsso diving into
src/
to make it fits your needs is highly recommendedExample
See here, source inexample.html
Suggest inspecting it with devtools
Requirement
- Vue 1.x
- Vue Router 0.7.x
- vue-update-query-mixin
- Moment.js (available globally)
- jQuery + BootStrap 3.x (available globally)
Installation
npm i vue-daterangepicker-component -S
alternatively:<script src="dist/vue-daterangepicker-component.min.js"></script>
which exposesVueDateRangePicker
as a global variable
Usage
<date-range-picker :config></date-range-picker>
props: {
// more options see http://www.daterangepicker.com/#options
config: { type: Object, default: () => ({}) }
}
Build
npm run build