Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Latest commit

 

History

History
45 lines (35 loc) · 594 Bytes

README.md

File metadata and controls

45 lines (35 loc) · 594 Bytes

Vue Datepicker

Here is a Datepicker plug-in for Vuejs

Build Setup

# install dependencies
npm install

# run the demo at localhost:8080
npm run dev

##Usage

<template>
  <div id="app">
    <span>Choose Date:</span><datepicker :model.sync="date"></datepicker>
  </div>
</template>

<script>
import datepicker from './components/DatePicker'

export default {
  data () {
    return {
      date: ''
    }
  },

  components: {
    datepicker
  }
}
</script>

##Todo

  • Month panel and Year panel.
  • Animation of toggle datepicker.
  • Make it beautiful.
  • Optimize.