Vue template directives
Some initial basics:
v-if- conditionally render or remove an element if and only if truthyv-for- loopv-show- just hide the element (usingdisplay: none), but don’t removeĀ it or unhook events
Some initial basics:
v-if - conditionally render or remove an element if and only if truthyv-for - loopv-show - just hide the element (using display: none), but don’t removeĀ it or unhook events