/vue-daterangepicker-component

Date range picker for Vue 1.x, based on bootstrap-daterangepicker

Primary LanguageVue

Vue Date Range Picker Component

npm version npm download

Intellectual property of Oneway.mobi

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 here, source in example.html

Suggest inspecting it with devtools

Requirement

Installation

npm i vue-daterangepicker-component -S

alternatively: <script src="dist/vue-daterangepicker-component.min.js"></script>
which exposes VueDateRangePicker 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