datepicker component for Vue.js.
- Vue.js
^1.0.0
$ npm install vue-date-picker
<template>
<datepicker :readonly="true" format="YYYY-MM-DD"></datepicker>
<datepicker format="YYYY-M-D" value="2015-9-5"></datepicker>
<datepicker :readonly="true" format="MMM/D/YYYY" width="300px"></datepicker>
<datepicker :readonly="true" format="MMM/D/YYYY" width="300px" name="date"></datepicker>
</template>
<script>
import datepicker from 'vue-date-picker';
export default {
components: { datepicker }
};
</script>