1.0.3 • Published 7 years ago

tt-vue-calendar v1.0.3

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

vue-calendar

a calendar for vue2.0

install

npm

npm install tt-vue-calendar

yarn

yarn add tt-vue-calendar

how to use

template

<input class="input" type="text" v-model="date" readonly="readonly" @click="show = 1">
<v-calendar
    :show="show"
    :date="date"
    v-model="date"
    @close="show = 0">
</v-calendar>

script

import Calendar from 'tt-vue-calendar'
export default {
    data() {
        return {
            show: 1,
            date: '2017-04-04'
        }
    },
    computed: {},
    created() {},
    methods: {},
    components: {
        'v-calendar': Calendar
    }
}

screenshot

pc mobile

remark

check the demo or create a issues
1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago