nathanreyes / v-calendar

An elegant calendar and datepicker plugin for Vue.
https://vcalendar.io
MIT License
4.39k stars 859 forks source link

Workaround for using $screens for Vue 3 <script setup>/Composition API #1244

Open nadhifikbarw opened 1 year ago

nadhifikbarw commented 1 year ago

For anyone for any reason doesn't want to globally register Calendar component but require access to its $screens function that's normally that's normally installed to this via mixin, you can employ a workaround by using $screens that's exposed by Calendar component. To do that you can use this workaround inside your Githubissues.

  • Githubissues is a development platform for aggregating issues.