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.

    Keywords

    Install

    npm i vue-xkcd

    DownloadsWeekly Downloads

    1

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • craigharman