1.0.7 • Published 6 years ago

datepicker-for-vue v1.0.7

Weekly downloads
24
License
-
Repository
-
Last release
6 years ago

datepicker-for-vue

A Datepicker component for Vue

Usage

# install datepicker-for-vue from npm
npm install datepicker-for-vue --save
    <Datepicker v-model="value" :disable="disable" notice1="notice1" notice2="notice2"></Datepicker>
    import Datepicker from 'datepicker-for-vue'
    export default {
        data(){
            return {
                // 可以给value数组两个元素,用来选择两个日期,设置notice1和notice2给这两个日期提示语
                value: ['2018-04-05'],
                disable: {
                    from: '2018-04-28',
                    to: '2018-04-01'
                },
                notice1: 'come', 
                notice2: 'go',
            }
        }
    }

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago