When using vuejs, how to parse variables in a tag?
For example, this one:
<a href="/articles/@{{ item.id }}/edit"></a>
What you see in the browser debugging window when you press F12 is like this, but it cannot be parsed:
<a href="/articles/{{ item.id }}/edit"></a>
How to write it?
过去多啦不再A梦2017-05-16 16:48:42
href is an attribute, not content. You cannot use {{}} to bind data. You must use the form: href="expression"