We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Work in nuxtjs
Doesn't work in nuxtjs, display error Cannot find module
Cannot find module
The text was updated successfully, but these errors were encountered:
You can write your code like so as to have it work with Nuxt
<template> <div> <twitter-button :url="shareUrl" :description="shareDescription" /> </div> </template> <script> import VueShareButtons from 'vue-share-buttons/dist/vue-share-buttons.umd'; import 'vue-share-buttons/dist/vue-share-buttons.css'; import { defineComponent } from 'nuxt-composition-api'; export default defineComponent({ components: { ...VueShareButtons.components, }, props: { description: { type: String, default: '' }, shareLink: { type: String, default: '' }, }, setup(props){ return { shareDescription: props.description, shareUrl: props.shareLink, } } }) </script>
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
Work in nuxtjs
Actual Behavior
Doesn't work in nuxtjs, display error
Cannot find module
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: