Я использую vue-router.Значение привязки к ссылке url
Как привязать значение к ссылке?
<a v-link="'people/edit/{{ item.id }}'">Edit</a>
Ошибка:
link="'people/edit/{{ item.id}}'": attribute interpolation is not allowed in Vue.js directives and special attributes.
Как насчет 'v-link =" 'people/edit /' + item.id "'? – Dogbert
@Dogbert это работает ... – Alvin