date-season-range

    1.2.5 • Public • Published

    date-season-range

    use step

    first: npm install date-season-range
    

    require in you project

    second: import DateSeasonRange from 'date-season-range'
    

    use as a global componnet

    Vue.use(DateSeasonRange)
    

    use in anywhere of your project

    <season-range v-model="value2" inputStyle="width: 300px;" style="width:300px" />
    
    <script>
      export default {
        data(){
          return{
              value2: [new Date(), new Date()]
          }
        }
      }
    </script>
    
    v-model绑定的值:和 element-ui 中的 el-date-picker 一致
    

    Install

    npm i date-season-range

    DownloadsWeekly Downloads

    86

    Version

    1.2.5

    License

    MIT

    Unpacked Size

    3.02 MB

    Total Files

    73

    Last publish

    Collaborators

    • piteryang