Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

vue-embed-gist-nojquery

1.0.1 • Public • Published

vue-embed-gist

This was forked from https://github.com/sudhanshu-15/vue-embed-gist

I literally just wanted to remove jquery.

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

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

License

MIT © Sudhanshu Siddh

Install

npm i vue-embed-gist-nojquery

DownloadsWeekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

28.8 kB

Total Files

6

Last publish

Collaborators

  • avatar