Skip to content
On this page

Install & Use

Install

Yarn

yarn add @webzlodimir/vue-avatar

Npm

npm i @webzlodimir/vue-avatar

Use

Vue 3

Just import component where you want

js
import VueAvatar from "@webzlodimir/vue-avatar";
import "@webzlodimir/vue-avatar/dist/style.css";

And use it in template tag

vue
<template>
  <vue-avatar username="Simple User" />
</template>