vue-better-calendar是一个基于 Vue 的日期选择插件,它提供了四种日期选择模式(范围选择,多选,签到,单选)
npm install --save vue-better-calendar
import VueBetterCalendar from 'vue-better-calendar'
Vue.use(VueBetterCalendar)
<vue-better-calendar></vue-better-calendar>
<script src="https://unpkg.com/vue@2.5.16/dist/vue.js"></script> <script src="https://unpkg.com/vue-better-calendar@1.0.0/dist/vue-better-calendar.js"></script>
<vue-better-calendar></vue-better-calendar>