Coding

Hiding elements until the Vue instance is ready (v-cloak directive)

March 13, 2017 by
Part 19 of 55 in the Vue.js: From Beginner to Professional series

Since we’re on the subject of showing and hiding elements, let’s see how we can hide the string interpolation syntax that appears on the page until Vue.js is bootstrapped. Since the string interpolation syntax is simply a part of the HTML as normal text, the browser will render it as such. It will then be… read more