Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
  <title>Vue v-cloak Directive</title>
  <style>
    [v-cloak] {
      color: red;
    }
    #app {
      padding: 10px;
      font-size: x-large;
      background-color: lightgreen;
    }
  </style>
</head>
<body>
<h1>Vue v-cloak Example</h1>
<p>The v-cloak directive is used to make the text red until the compilation is complete. Refresh the page, or click the "Run" button, to see the pre-compilation phase better.</p>
<div id="app" v-cloak>
  {{ message }}
</div>
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script>
  const app = Vue.createApp({
   data() {
    return {
     message: "Hello World!"
    }
   }
  })
  app.mount('#app')
</script>
</body>
</html>