Skip to content

artmarydotir/aasaam-vuetify-datetime

Repository files navigation

aasaam-vuetify-datetime

dependencies size issues version

Installation

Sure your project is Vue project, and has Vuetify as UI framework, then:

npm install aasaam-vuetify-datetime

Usage

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"  />

Full Documentation

Demo on storybook

datetime