[Vuejs]-Href migration from 1.x to 2.x?

0πŸ‘

βœ…

Can do it in this way.

<a  v-bind:href=" '<?=base_url('report/message/compose/')?>' + student.StudentID">test</a>

0πŸ‘

You should just be able to do this:

<a :href="'/report/message/compose/' + student.StudentID">test</a>

Leave a comment