i want to write ajax rendering news using blade + vue.
<div id="news">
<div class="l_news">
<div class="post" v-for="post in posts">
<div class="image" style="background: url() no-repeat center / cover">
<div class="title">@</div>
</div>
<div class="desc">@</div>
</div>
</div>
</div>
I have some problem with rendering post image.
But i can't use
url(') }})
How to write correctly?
Thanks in advance!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire