1.0.3 • Published 8 years ago
vue-xkcd v1.0.3
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.