0.1.3 • Published 7 years ago

tom-date-picker v0.1.3

Weekly downloads
21
License
-
Repository
-
Last release
7 years ago

A Custom Date Pick code by vuejs

Build Setup

# install dependencies
npm install

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

# build for production with minification
npm run build

# lint all *.js and *.vue files
npm run lint

# run unit tests
npm test

Screenshot

image

how to use tom-date-picker

1.copy components and public/scss files and ensure you have install node-sass

2.write code as below

<template>
  <div id="hello">
    <input-date :time-min='today' v-model='mydate'></input-date>
    <input-date :time-min='today' v-model='mydate' type='month'></input-date>
  </div>
</template>

<script>
let today=new Date;
export default {
  name: 'hello',
  data () {
    return {
      today:today,
      mydate:today,
      msg: 'Welcome to My Date'
    }
  },
  components:{
    inputDate:require('./input_date.vue')
  }
}
</script>
0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago