Sure your project is Vue project, and has Vuetify as UI framework, then:
npm install aasaam-vuetify-datetime
Add these line into your component:
import DateTimePicker from 'aasaam-vuetify-datetime/src/components/DateTimePicker';
import RangeDateTimePicker from 'aasaam-vuetify-datetime/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" />