vue2-daterangepicker-component
v2.0.3
Published
Date range picker for Vue 2.x, based on bootstrap-daterangepicker
Downloads
256
Maintainers
Readme
Vue Date Range Picker Component
Notice
This component is not meant to meet all the business requirements
so diving into src/
to make it fits your needs is highly recommended
Example
See example.html
for example.
Suggest inspecting it with devtools
Requirement
- Vue 2.x
- Vue Router 2.7.x
- vue-update-query-mixin
- Moment.js (available globally)
- jQuery + BootStrap 3.x (available globally)
bootstrap-daterangepicker
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
LICENSE
MIT