I am not getting that how to use vue-tweet-embed in vue file. it's shows error like:
Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option
Home.vue
<template>
<Tweet :id="'783943172057694208'"></Tweet>
</template>
<script>
import Vue from 'vue'
import Tweet from 'vue-tweet-embed'
export default {
data() {
return {
}
},
components: {'component-view': Tweet},
created(){
},
methods: {
}
}
</script>
<style scoped>
</style>
components: {'component-view': Tweet},to just thiscomponents: {Tweet},– Belmin Bedak Apr 27 '17 at 11:33<Tweet></Tweet>to<component-view></component-view>. – Bert Apr 27 '17 at 14:51