Node
npm install vue-daily-scheduler
# or yarn
yarn add vue-daily-scheduler
Browser
<script scr="https://unpkg.com/vue-daily-scheduler@latest/dist/vue-schedule.min.js" />
then, use inside a component
import VueSchedule from 'vue-daily-schedule'
export default {
components: {
VueSchedule
},
data () {
return {
schedule: {
0: [],
1: [],
2: [],
3: [],
4: [],
5: [],
6: []
}
}
}
}
use it inside vue template
<template>
<div>
<VueSchedule v-model="schedule" />
</div>
</template>
Feel free if you want to submit pull request or an issue.
Author: burhanahmeed
Demo: https://vue-daily-schedule.vercel.app/
Source Code: https://github.com/burhanahmeed/vue-daily-schedule
#vuejs #javascript #vue