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

Master Vue.js with Vue School Premium

$25 / month

Vue.js Fundamentals

Master Vue.js with Vue School Premium

$25 / month

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.