vue-xkcd
v1.0.3
Published
Displays a random XKCD image
Downloads
5
Readme
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.