tt-vue-calendar

1.0.3 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i tt-vue-calendar

      Weekly Downloads

      2

      Version

      1.0.3

      License

      ISC

      Last publish

      Collaborators

      • andy.jiang