I want to insert a Laravel config value into a view (more precisely, into a JavaScript variable inside a Vue template).
I' trying:
var BOSH_SERVICE = "<?php echo config('app.boshurl') ?>";
And
var BOSH_SERVICE = "";
But none of these works.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2h3uu5Q
via IFTTT
Aucun commentaire:
Enregistrer un commentaire