[Vuejs]-How to bind to a url in an object of array in vue js 3

0👍

You could wrap your rendered item element with router-link component and use to prop to navigate to the target url :

<router-link :to="item.url">
  <!-- your element -->
</router-link>

Leave a comment