vue-input-pack
Collection of simple input helpers for vue.js
What's included?
- Date Input
- Time Input
Screenshot
Requirements
-
Vue.js
^2.0.0
Installation
npm
$ npm install vue-input-pack
Usage
<template>
<date-input v-model="date"></date-input>
<time-input v-model="time"></time-input>
</template>
<script>
import { DateInput, TimeInput } from 'vue-input-pack';
export default {
data() {
return {
date: { year: 2016, month: 1, day: 1 },
time: { HH: 17, mm: 30 }
}
},
components: { DateInput, TimeInput }
};
</script>