Home » Php » Using Blade/Mustache templating mixing Laravel and Vue.Js

Using Blade/Mustache templating mixing Laravel and Vue.Js

Posted by: admin November 29, 2017 Leave a comment

Questions:

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}}?

Answers:

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! 🙂