@webzlodimir/vue-avatar
v0.0.8
Published
Simple and easy to use avatar component for Vue 3
Downloads
2,896
Readme
Vue Avatar
Simple and easy to use avatar component for Vue 3
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