Skip to content

Instantly share code, notes, and snippets.

@Mason-McGough
Created September 19, 2018 01:59
Show Gist options
  • Save Mason-McGough/04f857dd5a2d68fa221a499f06643529 to your computer and use it in GitHub Desktop.
Save Mason-McGough/04f857dd5a2d68fa221a499f06643529 to your computer and use it in GitHub Desktop.
How to override delimiters in Vue.js
// if using Vue as standalone / script tag
Vue.options.delimiters = ['V{', '}V'];
// if using Vue with in-browser compilation / full-build
var instance = new Vue({
el: '#id',
delimiters: ['V{', '}V'],
...
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment