F
F
flare0n2018-11-24 10:14:36
Vue.js
flare0n, 2018-11-24 10:14:36

What would be the best way to make a counter?

Hello! I am working on one project, along the way I met this sample form:

Screen
5bf8f9fbd79e7377898335.png

I just started learning Vue.Js, I would really like to practice it on this form, if possible. I don’t know how to implement a block with a counter and with a choice of colors for a flower.
I found examples in the documentation, but I don’t understand how to make the content of another element change when the button is clicked. (See counter)
Please, please provide an example with code.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Goryachev, 2018-11-24
@webirus

https://www.vuescript.com/vue-minus-plus-input/
I think it will help you. You want to take it ready, you want to disassemble it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question