Answer the question
In order to leave comments, you need to log in
How to add a new item through a form in vue?
Good afternoon!
There is a textarea and a ul>li list below it. It is supposed that when Enter is pressed , ul should be updated with a new li element , with the value that was sent from the text field.
Part of this is implemented but can't figure out how to update the array in store.list.
I left a comment on the essence of the problem directly in the code
. There is vuex - it's necessary.
Thank you.
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