Open ssglopes opened 4 months ago
Hello, please tell me, this package of the author should also support vue3.
@ssglopes Thanks, it works great!
@ssglopes excellent job, thanks! Makes it much more easy to customize and maintain like that, just 1 component :)
If anyone needs it, I rewrote it in a framework-agnostic way, also 1 file: https://github.com/amadeann/social-sharing/blob/master/index.js
Example usage with alpine.js: https://github.com/amadeann/social-sharing/blob/master/index.html
published on npm as well: https://www.npmjs.com/package/@amadeann/social-sharing
Considering the list of addressed issues I decided to convert this package myself into a component that works with nuxt 3. Credits go to the original author of this package. I updated it to fix some reported bugs that I noticed and to have a version working with Nuxt 3 and Vue 3. I did not make a new repo for this, everything needed is in the below component. I just post here the component for others to use as they see fit.
An example on how to use: