<div id="my_view">
  <label for="name">Enter name:</label>
  <input type="text" v-model="name" id="name" name="name" />
  <p>{{ name }} is {{ age }} years old.</p>
</div>
var myModel = {
	name: "Ashley",
	age: 24
};

var myViewModel = new Vue({
	el: '#my_view',
	data: myModel
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/vue/1.0.26/vue.min.js