12

So I'm trying to build an application with both Laravel and VueJs but I'm stuck at one point.

Is it possible to use VueJs mustache templating (which is {{exemple}} ) without launching a Laravel error since laravel used it too like {{$exemple}}?

3
  • 2
    Have you looked at the docs as I'm not sure if the @{{ example }} syntax might help? Oct 10, 2016 at 10:48
  • 1
    Ho god! Thank you! You just showed me I could escape blade templating. Marvelous! Answer it with @{{ exemple }} and I'll accept your answer :).
    – Baldráni
    Oct 10, 2016 at 10:51
  • No problem, there you go :) Oct 10, 2016 at 10:53

1 Answer 1

30

I think you can do what you're after using the @{{ example }} syntax that Blade allows us to use when using a JS framework inside Laravel.

Hope this helps! :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.