September 29, 2019
Vue.js conditional display v-if and v-show

In working with the Vue.js JavaScript framework, one of the first topics you learn is conditional display – displaying or hiding an element. Two ways to do this are the v-if directive and the v-show directive. Here is an example of the v-if directive: It’s pretty straight forward, the statement inside the quotes needs to