Open fu-hb opened 7 years ago
There is an example in the demo directory, but it doesn't works for me. How to activate this?
<template slot="fc-event-card" scope="p">
<p><i class="fa">sadfsd</i> {{ p.event.title }} test</p>
</template>
Thank you.
This template is work for calendar event , you can change event's title to test it.
@dzafer : This is because the published npm package v1.0.9 is too old (from january) Update your project package.json dependency to point directly to the master branch
"dependencies": {
"vue-fullcalendar": "git://github.com/Wanderxx/vue-fullcalendar#master"
}
and npm update.
@18979687252 : Here is some solution, hope it can inspire you! (freakin' hell, it was very unpleasant to set-up a jsfiddle vith vuejs and this plugin!)
To anyone trying to follow @smingam's fiddle above, the template slot value for the body card is fc-body-card
and not body-card
. Definitely threw me off.
Are you sure ? I still see in FullCalendar.vue, line 75
<slot name="body-card">
</slot>
and if I modify my jsfiddle with your suggestion it doesn't work? Anyway, I moved on another plugin that works better for my need... good luck! :) Cheers
Your fiddle uses an earlier version of Vue, maybe that’s why? I don’t know.
Anyway, what plugin did you move to?
"fc-body-card" ,how to work?