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?
/q/10...
You can take a look at my previous answers
:href="JS expression"
Why add @?
href is an attribute, not content. You cannot use {{}} to bind data. You must use the form: href="expression"