Skip to content

Latest commit

 

History

History
68 lines (49 loc) · 1.04 KB

README.MD

File metadata and controls

68 lines (49 loc) · 1.04 KB

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