Git Product home page Git Product logo

Comments (3)

kamerat avatar kamerat commented on June 30, 2024 2

You only need to install node-sass & sass-loader. You don't have to use vue-component

from vue-goodshare.

nicroto avatar nicroto commented on June 30, 2024

For anyone banging their head against the wall with this issue:

  1. Install node-sass and sass-loader as dependencies;
  2. Register all components like this:
import Vue from "vue";
import VueGoodshareFacebook from "vue-goodshare/src/providers/Facebook.vue";
import VueGoodshareTwitter from "vue-goodshare/src/providers/Twitter.vue";
import VueGoodshareLinkedIn from "vue-goodshare/src/providers/LinkedIn.vue";
import VueGoodsharePinterest from "vue-goodshare/src/providers/Pinterest.vue";
import VueGoodshareReddit from "vue-goodshare/src/providers/Reddit.vue";
import VueGoodshareWhatsApp from "vue-goodshare/src/providers/WhatsApp.vue";
import VueGoodshareTelegram from "vue-goodshare/src/providers/Telegram.vue";
import VueGoodshareViber from "vue-goodshare/src/providers/Viber.vue";
import VueGoodshareEmail from "vue-goodshare/src/providers/Email.vue";


Vue.component ("vue-goodshare-facebook", VueGoodshareFacebook);
Vue.component ("vue-goodshare-twitter", VueGoodshareTwitter);
Vue.component ("vue-goodshare-linkedin", VueGoodshareLinkedIn);
Vue.component ("vue-goodshare-pinterest", VueGoodsharePinterest);
Vue.component ("vue-goodshare-reddit", VueGoodshareReddit);
Vue.component ("vue-goodshare-whatsapp", VueGoodshareWhatsApp);
Vue.component ("vue-goodshare-telegram", VueGoodshareTelegram);
Vue.component ("vue-goodshare-viber", VueGoodshareViber);
Vue.component ("vue-goodshare-email", VueGoodshareEmail);

from vue-goodshare.

recitogigih avatar recitogigih commented on June 30, 2024

@nicroto thx this really helping. i can use this by wrapping the component with no-ssr tag since i use ssr mode

from vue-goodshare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.