X
X
xXRustamXx2018-06-01 22:49:32
Vue.js
xXRustamXx, 2018-06-01 22:49:32

What is the best way to make this slide in Vue.js?

Hello everyone, it became interesting how you can implement slides in which the content is different and so that they switch between themselves, here is a photo for clarity
5b11a223ed192086284047.png
: this is nonsense, I decided to throw all 2 slides into 1 component and I'm racking my brains on how to determine the number of slides in the component, and because Maybe I just got into the wrong steppe and there are better options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2018-06-01
@xXRustamXx

You can’t display them through the slides array (conditionally), because their content is different ...

Yah? And what prevents you from making the content a property of the slides elements and passing what is needed to each slide?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question