Skip to content

😊 Simple and easy to use avatar component for Vue 3

License

Notifications You must be signed in to change notification settings

vaban-ru/vue-avatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue Avatar

Size Downloads Version

Simple and easy to use avatar component for Vue 3

DemoImg

Install

Yarn

yarn add @webzlodimir/vue-avatar

Npm

npm i @webzlodimir/vue-avatar

Use

Vue 3

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>

Develop

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