The video for this lesson is currently being updated, please read the transcript instead.

Hiding elements before Vue compiles them

In this video we're going to see how v-cloak can get rid of the ugly unparsed Vue syntax when our app is still loading.

How web apps load

Let's talk briefly about how a JavaScript web app loads.

To begin with, the server delivers the index.html file to the browser. When the browser receives this it begins parsing the file from top to bottom.

Any HTML in the index file will be almost immediately displayed on the screen.

To view the complete lesson you'll need to login or join this course.


Click to load comments...