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? Commented 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 :). Commented Oct 10, 2016 at 10:51
  • No problem, there you go :) Commented 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! :)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.