This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
How to correctly use the useSocialShare composable in nuxt-social-share? #183
Labels
question
Further information is requested
Hi,
I'm trying to use the useSocialShare composable from the nuxt-social-share module in my Nuxt.js project, but I'm having some trouble understanding how to properly use it. Here’s what I’ve done so far:
Installed the nuxt-social-share module and configured it in nuxt.config.js.
Tried to set up the useSocialShare composable in a component like this:
However, I encountered an issue where shareFacebook and shareTwitter are not functions, so I'm not sure how to trigger the sharing actions.
Could you please provide an example of how to correctly use the useSocialShare composable to trigger social media shares?
Thank you!
The text was updated successfully, but these errors were encountered: