-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue 3 Support #94
Comments
+1 |
I would like to know if the author plans to support Vue3 too. |
I urgently needed this for one of our projects, so I came up with a port for Vue 3: https://github.com/soerenmartius/vue3-clipboard |
Hi @soerenmartius It's really great. Can we have function like |
Thanks! Yeah sure. That's just an unstable pre v0.1.0 release. I am working on converting everything to Typescript. Will release a stable version later this weekend that will also allow for standalone usage without loading the whole thing globally. I will come back to you later this weekend. |
Just added it :) |
I also wanted a Vue 3 version of this for use just with the composition API in the |
Can you support Vue 3? |
@Inndy I tried it out and this package does indeed seem to be compatible with Vue 3 I suggest closing this issue, and to remove confusion, also change the description in the README: Line 3 in be0e6df
to match the description in package.json: Line 4 in be0e6df
|
@zenflow the plugin works, the directive doesn't. Some directive lifecycle hooks name changed so there's a mapping required based on current vue version. @Inndy if you want can make a PR. Example from https://v3-migration.vuejs.org/breaking-changes/custom-directives.html#_3-x-syntax
vue-clipboard2/vue-clipboard.js Lines 35 to 78 in be0e6df
|
Hi! I just want to throw in my vote for Vue 3 support, since its now in RC5, which means we're getting very close and the API shouldn't have any more breaking changes. Thanks!
The text was updated successfully, but these errors were encountered: