mardi 6 octobre 2015

Echoing vue.js data with laravel?

I am currently echoing some data from vue.js in laravel like so:

<a href="/beers/@{{ beer.id }}">
    <img src="@{{ beer.path }}" alt=""/>
</a>

It works but my console gives me the following error twice:

http://ift.tt/1WLCALc

Any other variables that I have printed out work fine because they are not within double quotes probably.

Funny enough everything seems to work fine though but I would like to get rid of the messy console messages. Does anybody know how to fix this?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire