Getting Started with Vue.js: #7 Vue Templating Basics


Vue allows us to simply and declaratively write out our HTML. Vue will look at the HTML we’ve written and look for spots where it needs to work for us. We can tell Vue where to inject content or change our DOM by using a few methods like:

– interpolation: injecting a piece of content into our template
– directives: attach directives to HTML elements to tell Vue how to change it
– event bindings: tell Vue what HTML DOM events to listen to and how to react

To learn more about DigitalOcean: https://www.digitalocean.com/
Follow us on Twitter: https://twitter.com/digitalocean
Like us on Facebook: https://www.facebook.com/DigitalOcean
Follow us on Instagram: https://www.instagram.com/thedigitalocean
We’re hiring: http://grnh.se/aicoph1


Duration: 00:07:44
Publisher: DigitalOcean
You can watch this video also at the source.