I\'m doing a program using Slim 2 that uses Twig as my templating engine. so It uses the syntax {{ foo }} in php file. On the other hand, I\'m using vue.js, it
{{ foo }}
This is tested and working - vue js vars in twig template:
new Vue({ el: '#app', delimiter: ['{}'], // any delimiter you would like })