vue-xkcd

1.0.3 • Public • Published

vue-xkcd

Display a random XKCD comic

Installation

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

Usage

Add as a component:

components: {
    VueXKCD
}

You can then show a comic with:

<xkcd></xkcd>

A random image will appear wherever you place the component.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i vue-xkcd

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • craigharman