Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Vue.js 2 Fundamentals

Attribute Bindings

We do know how to render data in the DOM, and now it's time to take a closer look at how we can bind HTML attributes to our Vue data.

This is achieved with Vue's v-bind directive and would let us change the href of a link or swap out an image if we need to.