Vue-- basic instruction

Vue instructions:

-------------------------------------------------------
v-cloak: solve the problem of flicker interpolation expression (when the network is slow)
The default setting is dispaly: none, that is, when being loaded is not displayed until it is loaded when dispaly: none automatically removed

 v-text: Default v-text is not flashing a problem, it will be loaded with hidden set up, after the release of the same load

v-text overwrites the original content elements, but will only replace their expression interpolation placeholder, not empty the entire contents of the elements

If v-cloak can be displayed in the text elements, v-text can not be displayed

 

 v-html:

 

v-bind :( using the binding properties) , provides instructions for binding properties, can be abbreviated as an English   :  must be followed to bind properties

v-bind, you can write a legal JS expression

 

 ON-v: (is used to bind the event) provides event binding mechanism can be abbreviated as an English  @ must be followed by attribute to bind

Click here to binding is an event, you can bind other events, as long as they modify click on it

Guess you like

Origin www.cnblogs.com/yangpeixian/p/11697178.html