<div id="app-3">
  <p v-if="seen">seen为true时渲染显示</p>
</div>
// JavaScript
var app3 = new Vue({
  el: '#app-3',
  data: {
    seen: true
  }
})

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://npmcdn.com/vue/dist/vue.min.js