vue-embed-gist

1.2.0 • Public • Published

vue-embed-gist

NPM version NPM downloads CircleCI Contributor Covenant

Vue component to embed Github Gists, inspired by Blair Vanderhoof's gist-embed. (https://github.com/blairvanderhoof/gist-embed)

Demo

Demo of vue-embed-gist

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.07latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.07
1.1.00
1.0.21
1.0.10
1.0.00
0.0.20
0.0.10
0.0.00

Package Sidebar

Install

npm i vue-embed-gist

Weekly Downloads

6

Version

1.2.0

License

MIT

Unpacked Size

30.7 kB

Total Files

6

Last publish

Collaborators

  • ssiddh