-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add profile avatar functionality to Laravel Vue starter kit #79
base: main
Are you sure you want to change the base?
Conversation
Excellent. I'll be testing these out this week. I would also like to get this added into the Livewire starter kits too. Would you be able to add the profile photo to the Starter kit as well. If you are not as comfortable with that stack, I'm sure myself or someone else will be able to help out with that. Thanks! |
Yes I will add livewire PR |
Livewire PR Submited laravel/livewire-starter-kit#60 |
This is looking really good! Could you update the Also, I noticed that this is working correctly on the React version but not the same in the Vue version. When I click on the Save button, it does not update the avatar in the bottom left. When I remove the photo, it does not remove it from the Photo placeholder or the user menu on the bottom right. Screencast attached 👇 photo-issues.mp4If you could update those, I'll approve this, and then we can merge it in. I really appreciate it! |
fixed in last commit |
Will the crop functionality work in the starter kit? |
feat: add profile avatar functionality to Laravel Vue starter kit
profile_photo_path
column to users migrationavatar
toUser
model for profile photo handlinggetAvatarAttribute()
accessor to fetch user's profile photo URL