I am using Laravel with VueJS I have a simple code.
<div class="large-6 columns properties" v-for="property in selectedProperties">
<h6 class="ribbon" v-if="property.discount"><strong>@ % OFF </strong></h6>
<div class="card">
<img src=""> //Here i need to use property.image instead of $hotel->image
//How can i use this Js variable in asset() of php?
<div class="card-section">
@
</div>
</div>
</div>
How can i use property.image
instead of $hotel->image
in asset()
function of laravel/PHP?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire