A package containing a gravatar component.
Table of Contents
$ npm i --save @vuecs/gravatar
Register the plugin.
import install from '@vuecs/gravatar';
import { createApp } from 'vue'
const app = createApp({})
app.use(install, {
/* optional options */
})
After the component is registered, it can be used as follows.
<template>
<VCGravatar
:email="'[email protected]'"
:default-img="'retro'"
:size="80"
:rating="'g'"
/>
</template>
Made with 💚
Published under MIT License.