🚧 NOTICE: You are watching a Vue.js 2 lesson
Conditional Rendering
Conditional rendering is essential on any dynamic website. Vue.js offers two ways to conditionally render elements on our page and in this lesson we're learning how the v-if
and v-else
directives work.