vue-datepicker icon indicating copy to clipboard operation
vue-datepicker copied to clipboard

Vue 3 compatibility

Open adambartosiewicz opened this issue 4 years ago • 14 comments

Any plans for updating the code to be compatible with Vue 3?

adambartosiewicz avatar Jan 22 '21 13:01 adambartosiewicz

Hey good question.

Currently i'm mainly working with nuxt which is not compatible with vue3 yet this means i'm not really into vue3 at the moment but i know there is a library that will build a vue3 compatible file out of a vue2 library i just don't know how it is called anymore. If i find it again, i will check it out.

@mst101 is constantly improving this package and is in the process of adding keyboard support. This means that i will definitely wait till he finishes it because that is a big complicated feature.

MrWook avatar Jan 22 '21 13:01 MrWook

@MrWook are you thinking of vue-demi?

hisuwh avatar Nov 26 '21 16:11 hisuwh

here is a snapshot of vuejs-datepicker implemented for Vue 3. uses all the functionalities in vuejs-datepicker.

my main objective was to workaround to use in Vue 3 however, during the implementation I've also added one of the biggest issues I had on my office project. On day views every month numbers of days are different and the picker resizes the height accordingly.

Day view Month View Year View
image image image

currently, this is not on a public repository, however, if anyone wants to contribute to making this as a package, I am ready to push to GitHub.

wadday avatar Jan 25 '22 06:01 wadday

@wadday is this something you have been developing separately to this package?

hisuwh avatar Jan 25 '22 10:01 hisuwh

@wadday is this something you have been developing separately to this package?

Idea is to make it public as a separate package for Vue 3. However, my schedule is very tight at the moment.

wadday avatar Jan 28 '22 17:01 wadday

those who are looking for Vue 3 version check this out. https://github.com/shubhadip/vuejs3-datepicker

wadday avatar Feb 22 '22 04:02 wadday

Any movement on Vue 3 @MrWook? Nuxt is compatible with Vue 3 now

acallaghan avatar Mar 29 '22 16:03 acallaghan

Ah i see this commit - https://github.com/sumcumo/vue-datepicker/commit/46bab513fc584f0266f3e1d78e518c72876a2376

Let me know if you need any help at all, happy to help out here

acallaghan avatar Mar 29 '22 16:03 acallaghan

We're finally making the vue3 upgrade soon. Is this still a pending feature or will it become a separate package?

brandonburkett avatar Sep 23 '22 15:09 brandonburkett

I've been a bit distracted recently learning Nuxt (which I'm enjoying very much...), but I have also been working locally on upgrading this project to Vue 3. It's working, but I still have issues with getting some unit tests to pass. There's also more to be done with setting up a v3 version of the e2e tests + the actual build.

I will upload my work-in-progress asap - and will welcome any help you (@acallaghan, @brandonburkett, or others - and of course @MrWook) may be able to provide to get v3 off the ground!

mst101 avatar Sep 28 '22 09:09 mst101

Please see #185. We're getting there, but I could do with some help getting these 6 unit tests to pass!

mst101 avatar Oct 19 '22 14:10 mst101

Good news! All tests are all passing now - upgrading vue-test-utils from v2.1 to v2.2 solves the problem.

All that's left now (as far as I'm aware) is to update the Cleave & Vee-validate integrations in Vuepress 2 docs...

mst101 avatar Nov 01 '22 11:11 mst101

Our vue3 transition got pushed until next month, but can help check how it works in our env then.

brandonburkett avatar Nov 04 '22 01:11 brandonburkett

Any update on this?

roelVerdonschot avatar Jan 17 '23 08:01 roelVerdonschot