<div id="person">
  <p >Hello {{name}}</p>
  <p> You are
    <span v-if="age >= 12">Older than little john!</span>
    <span v-if="age < 12">Younger than little john!</span>
  </p>
</div>
var app = new Vue({
  el: '#person',
  data: {
    name: 'Hasan',
    age: 45
  }
});   

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://unpkg.com/vue@2.0.3/dist/vue.js