Vue Calendar component is not exposing its properties and methods
3 years ago.
Hello,
I am new to daypilot, I am trying to add a calendar to one of my applications in Vue 3 Composition API with the <script setup> syntax. the guide I am following is this "https://code.daypilot.org/10748/vue-js-weekly-calendar-tutorial".
Unfortunately I got stuck at the point where I need to create a reference to the <DayPilotCalendar> component.
It shows me an error on the calendar update telling me that it is not a function, personally I think the problem is that I know I am using the <script setup> syntax (reference 'https://vuejs.org/guide/essentials/template-refs.html#ref-on-component') so the component is not exposing its properties and methods in the component instance, but I am not sure, in case I ask for support on how I can solve the problem
Thank
DayPilot