Answer the question
In order to leave comments, you need to log in
How does this code comply with the rules of Vue?
Link
Not yet added. But. I have a feeling that I am not writing in view, but in ordinary js, stuffed into a view wrapper. Can you poke your nose into the roughest joints?
Answer the question
In order to leave comments, you need to log in
So that's the whole point. vue doesn't pretend to be anything special. It allows you to describe data manipulation, taking on all the hassle of entering data from the DOM and outputting the result back. Well, a lot of goodies for the same class management, animation (de facto - the same class management) to make the data "beautiful".
Congratulations, now you know at least two things: Vue is not a programming language and not even a DSL, and the fact that after reading the dock from the javascript framework, you can’t get away. By the way, a framework means a certain working environment with a set of tools for implementing the tasks for which it was created, which is what Vue is. And it’s pointless to comment on your code, add what you wanted and if it doesn’t work, ask a question.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question