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.

Readme

Keywords

Package Sidebar

Install

npm i vue-xkcd

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • craigharman