L
L
litash2018-06-07 20:10:07
Vue.js
litash, 2018-06-07 20:10:07

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

2 answer(s)
K
Konstantin Malyarov, 2018-06-07
@Konstantin18ko

Why is https://bootstrap-vue.js.org bad ?

I
Ivan, 2018-06-07
@LiguidCool

Smoke VueRouter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question