Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 977 Bytes

README.md

File metadata and controls

52 lines (36 loc) · 977 Bytes

@vuecs/gravatar 📷

npm version CI

A package containing a gravatar component.

Table of Contents

Installation

$ npm i --save @vuecs/gravatar

Usage

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>

License

Made with 💚

Published under MIT License.