vue-nice-avatar

Dummy avatar generator

Usage no npm install needed!

<script type="module">
  import vueNiceAvatar from 'https://cdn.skypack.dev/vue-nice-avatar';
</script>

README

vue-nice-avatar

Version npm download

Online editor / preview

Assets

Installation

yarn add vue-nice-avatar

Usage

  1. Import the component

    import NiceAvatar from "vue-nice-avatar";
    
  2. Render the component with props

    <NiceAvatar />
    

Options

The options can be passed into genConfig or as React props

key type default accept
id string
className string

Development

  1. Clone the repo
    git clone git@github.com:ademilter/vue-nice-avatar.git
    
  2. Clone the repo
    cd vue-nice-avatar
    
  3. Install dependencies
    yarn
    
  4. Start the server for the demo
    yarn dev
    
  5. Open the browser to reivew the demo
    open http://localhost:3000
    
  6. Edit the files inside src/components/NiceAvatar.

License

Released under MIT by @ademilter.