Every modern app I can think of has some sort of avatar or profile photo.
Instead of using a basic file input to change the avatar, it would be nice to have a dedicated component for it so we can display a preview of the photo we'll be using.
In this video we'll do just that: we'll create a VueJS avatar image input component where we can easily pick, remove, and preview the image we want to set as our avatar.
The component has been improved: Previous video: [ Ссылка ]
Checkout the code here: [ Ссылка ]
Sometimes I blog: [ Ссылка ]
Ещё видео!