vue-embed-gist
v1.2.0
Published
Vue component to embed Github Gists, inspired by Blair Vanderhoof's gist-embed.
Downloads
47
Readme
vue-embed-gist
Vue component to embed Github Gists, inspired by Blair Vanderhoof's gist-embed. (https://github.com/blairvanderhoof/gist-embed)
Demo
Install
yarn add vue-embed-gist
or
npm install --save vue-embed-gist
Usage
<template>
<vue-embed-gist gist-id="your gist id" file="your file name" />
</template>
<script>
import VueEmbedGist from "vue-embed-gist";
export default {
components: {
VueEmbedGist,
},
};
</script>
Props
gist-Id
Type: String
Required: true
:octocat: Github gist Id
file
Type: String
Required: false
File name in the gist
Contributing to this project 🙌🏽
Code of conduct
License
MIT © Sudhanshu Siddh