Answer the question
In order to leave comments, you need to log in
How to implement component and tab switching in Vue.js?
There is a code https://codepen.io/litash/pen/dKpENO
When clicking on "Click 1" and it is now just active, only the text "First component. Tab 1" should be displayed in the block on the right, the rest of the text (content), which below should be shown only if we click Tab 2 or Tab 3.
Help to somehow implement switching between tabs, and so that when you click on the menu on the left, only the content of the first Tab is initially shown. I don't understand how to implement...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question