[Vuejs]-Using PHP template engine on Laravel blade

1👍

Have you tried changing your href attribute to :href="'/product/'.result.id"?

Or with the + operator instead of .

-1👍

Change your code to something like:

@verbatim
    <div class="category-item" v-for="result in results" :value="result.id">
    <a class="button-product-info-s" href="/product/@{{ result.id }}"/>@{{ result.name }}</a>
    </div>
@endverbatim

Leave a comment