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 }}
Just change default delimiters for vue. Here's how:
Define delimiters globally.
Vue.config.delimiters = ['${', '}']
Docs
Define delimiter on per component basis.
new Vue({ delimiters: ['${', '}'] })