插件名称 | vue-avatar-component |
---|---|
发布时间 | 2020年8月13日 |
插件作者 | ssouron |
这个vue.js组件提供了一种生成圆形和彩色贴纸的简单方法,以在您的应用程序中使用。
# NPM
$ npm install vue-avatar-component --save
template>
<div>
<avatar fullname="My Sticker" :size="96"></avatar>
</div>
</template>
<script>
import Avatar from 'vue-avatar-component'
export default {
components: { Avatar }
}
</script>
官网:https://github.com/vertcitron/vue-avatar-component
GitHub下载:https://github.com/ssouron/vue-avatar-component/archive/master.zip