Vue component for embedding instagram posts
yarn add vue-instagram-embed
npm install --save vue-instagram-embed
import InstagramEmbed from 'vue-instagram-embed';
export default {
components: {
InstagramEmbed
}
}
<instagram-embed
:url="'https://www.instagram.com/p/Bs_yHwHBjKo/'"
:max-width=500
/>
Property | Type | Default |
---|---|---|
url | String | |
max-width | Number | 320 |
class-name | String | |
hide-caption | Boolean | false |
Author: katalonne
Live Demo: https://katalonne.github.io/vue-instagram-embed/
GitHub: https://github.com/katalonne/vue-instagram-embed
#vuejs #vue #javascript #vue-js