Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

petritr's avatar
Level 15

Vue call another method from button component

I have 2 components one for the button and one for the html, when i click the button i should show the html component.

How can i pass the button click component to the html component ?

0 likes
2 replies
petritr's avatar
Level 15

Any complete example im new to vue, thanks!

Please or to participate in this conversation.