Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Crafting a Custom Component Library with Vue and Daisy UI

Lessons from an Avatar Component thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Lessons from an Avatar Component

In this lesson, take a look at the internals of a custom Vue Avatar component and learn lessons like:

  1. Not all styles have to be a prop
  2. Sometimes it’s better to show how to combine components within your docs, than to make a single component responsible for too much
  3. It’s possible to make a component that is optionally tightly coupled to a parent component