@vue-layout/gravatar 📷
A package containing a gravatar component.
Table of Contents
Installation
$ npm i --save @vue-layout/gravatar
Usage
Register the plugin.
import install from '@vue-layout/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="'max.mustermann@example.com'"
:default-img="'retro'"
:size="80"
:rating="'g'"
/>
</template>
License
Made with 💚
Published under MIT License.