Simple and easy to use avatar component for Vue 3
yarn add @webzlodimir/vue-avatar
npm i @webzlodimir/vue-avatar
Just import component and styles in script
section
<script setup>
import VueAvatar from "@webzlodimir/vue-avatar";
import "@webzlodimir/vue-avatar/dist/style.css";
</script>
And use it in template
tag
<template>
<vue-avatar username="Simple User" />
</template>
To start develop server with demo use command
yarn demo
or
npm run demo
To start develop docs, use command
yarn docs:dev
or
npm run docs:dev