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>
Source:stackexchange.com