Common commands in Vue and their meanings?

v-text only parses text information
v-html can parse hypertext tags
v-if/v-else-if/v-else is the same as in javaScript, used for judgment.
v-show controls the display and hiding of elements by controlling the display css attributes of the elements
v-for loop
v-on binding event, you can use @ symbol instead
v-bind binds one or more attributes of the element, used to dynamically update the tag content of the element on the html
v-slot slot
v-pre skips the compilation process of itself and child elements
Two-way binding of v-model data
v-clock solves the page flickering problem
v-once only render once

Guess you like

Origin blog.csdn.net/ni15534789894/article/details/113032579