Package Exports
- vuebbble
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vuebbble) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Vuebbble
Vue component to easily display dribbble shots from a user.
Demo
Installation
$ yarn add vuebbble --dev
# or ...
$ npm i vuebbble --save-devRegister the component:
import Vue from 'vue';
import { Vuebbble } from 'vuebbble';
Vue.component('vuebbble', Vuebbble);Alternatively using Vue.use() to register the component:
import Vuebbble from 'vuebbble';
Vue.use(Vuebbble);Usage
Display the component using scoped slots.
<template>
    <vuebbble token="CLIENT_ACCESS_TOKEN" user="USERNAME" :count="10">
        <template slot="shots" slot-scope="props">
            <img :src="props.shot.images.hidpi" :alt="props.shot.title">
        </template>
    </vuebbble>
</template>Available properties
| Prop | Data Type | Required | Default | Description | 
|---|---|---|---|---|
| token | String | true | Application client access token | |
| user | String | true | User to display shots from | |
| count | Number | false | 5 | Number of shots to fetch | 
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.