CroudTech / vue-fullcalendar

FullCalendar Wrapper for vue
MIT License
483 stars 100 forks source link

eventResources doesn't work on calender scheduler #206

Open vertiqcal opened 5 years ago

vertiqcal commented 5 years ago

Hi all, Wonder how to pass event resource into it? This doesn't work.

<full-calendar ref="calendar" :event-sources="eventSources"

computed: { eventSources() { return [ { events(start, end, timezone, callback) { axios.get('/get-events').then(response => { callback(response.data) }) } } ] }, },