0.0.5 • Published 3 years ago
aa-pick v0.0.5
aasaam-vuetify-datetime-picker
Installation
Sure your project is Vue project, and has Vuetify as UI framework, then:
npm install aasaam-vuetify-datetime-picker
Usage
Add these line into your component:
import DateTimePicker from 'aasaam-vuetify-datetime-picker/src/components/DateTimePicker';
import RangeDateTimePicker from 'aasaam-vuetify-datetime-picker/src/components/RangeDateTimePicker';
export default {
components: {
DateTimePicker,
RangeDateTimePicker
}
}
<DateTimePicker lang="en" :date-time.sync="selectDate" placeholder="Select date" />
<RangeDateTimePicker lang="en" :fromDate.sync="fromDate" :toDate.sync="toDate" />