@mintjamsinc/vue-badge
v1.10.1
Published
A reusable Badge component for Vue.js 2.x used by webtop applications.
Downloads
27
Readme
vue-badge
A reusable Badge component for Vue.js 2.x used by webtop applications.
Installation
npm install --save-dev @mintjamsinc/vue-badge
Usage
<Badge :authorizable="authorizable"/>
import Badge from '@mintjamsinc/vue-badge';
export default {
components: {
Badge: Badge,
},
computed: {
authorizable() {
return window.Webtop.userClient.newAuthorizable(this.$store.state.user);
},
},
}
License
Copyright (c) 2021 MintJams Inc.