mardi 28 novembre 2017

Laravel blade + vue render ajax data couple?

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!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2ncxlwH
via IFTTT

Aucun commentaire:

Enregistrer un commentaire