Get sibling component (Gallery)

Posted 11 months ago by Kunzilla

Hi, i've created a gallery with vue and the components. I have a component and a component. There can be one or more elements. So, how can i access the "other" photo within the current photo element to "push" it into the (update)?

I've readed some articles about siblings, but i've no idea how to implement that in vuejs.

Hope anyone can help.


Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.