I currrently want to echo vuejs data inside a php function like so:
{{ auth()->user()->timesAddedBeer(@{{ beer.id }}) }}
But laravel gives me the following error:
syntax error, unexpected '{'
Can anybody tell me the right way to do this?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire