Created
July 30, 2017 15:59
-
-
Save thangman22/a9b485ad966408cd105aaaa92900298c to your computer and use it in GitHub Desktop.
vue-custom-element.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
// include vue-custom-element plugin to Vue | |
import VueCustomElement from 'vue-custom-element' | |
Vue.use(VueCustomElement) | |
// import and register your component(s) | |
import ShareButtonsComponent from './components/ShareButtonsComponent' | |
Vue.customElement('share-buttons', ShareButtonsComponent) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment