A dead-simple gravatar component for VueJS applications. Gravatar is a service for avatars, its included by default in the WordPress CMS.
This Vue component lets you include a gravatar image into your Vue App. This includes all types of gravatars: wavatar, identicon, retro etcetera.
yarn add vue-gravatar
Register the component
import Vue from 'vue';
You may now use the component in your markup
<v-gravatar email="[email protected]" />
The following props are available:
<v-gravatar hash="f3ada405ce890b6f8204094deb12d8a8" alt="Nobody" :size="200" default-img="mm" />
The MIT License (MIT) - See file ‘LICENSE’ in this project