vue-xkcd
v1.0.3
Published
Displays a random XKCD image
Readme
vue-xkcd
Display a random XKCD comic
Installation
# install with npm
npm install vue-xkcd --savevar 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.
