Q:

Vuejs call method from href tag

I get this error when I try to call a method from a property:

_vm.url is not a function

when i try to call a function
<a :href="url(item)" class="link">
    {{ item.label }}
</a>

method: {
    url: function(item) {
        console.log(item)
    }
}

What am I doing wrong?  

A:

The property is methods, not method.

