jeudi 25 mai 2017

In Laravel 5, how do you dump variables on vue enabled templates?

Prior to vue being part of Laravel, I would often debug by simply using

Doing so now throws an exception within javascript as Vue doesn't like <script> tags within the body of the content. It's not game breaking, but it is annoying. It still shows the whole array, just that the JavaScript around it doesn't work anymore.

Is there a Vue equivalent of laravel's dump? Can I tell Vue to ignore script tags when doing debugging?



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

Aucun commentaire:

Enregistrer un commentaire