I have one vue componet i wanna click to a href link bellow code to load another vue componet to pass id or any value of this form.
<template>
<div class="container">
<table class="table table-hover">
<tbody>
<tr>
<th>No</th>
<th>another vue component</th>
</tr>
<tr>
<td>1 </td>
<td>
<a href="'/NewVueComponent.vue/ + this.form.id'" > show </a>
</td>
</tr>
</tbody>
</table>
</div>
</template>
<script>
export default {
data (){
return {
form: new Form({
id: '',
})
}
}
}
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>