vue-giphy

1.0.1 • Public • Published

vue-giphy

Load a random giphy image based on search query

Installation

# install with npm
npm install vue-giphy --save
var VueGiphy = require('vue-giphy')
Vue.use(VueGiphy)

Usage

Add as a component:

components: {
    VueGiphy
}

You can then show a GIF with:

<giphy query="<searchQuery>" apiKey="<yourGiphyAPIKey>"></giphy>

Replace with the phrase you want to show a GIPHY for. Replace with your API key which can be obtained from giphy developers site

A GIF will appear using the query string provided wherever you place the component.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    2
  • 1.0.0
    0

Package Sidebar

Install

npm i vue-giphy

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • craigharman