Vue.js change {{ }} tags

后端 未结 5 1929
野的像风
野的像风 2020-11-30 03:01

I want to change the {{ something }} by <% something %> in Vue.js, how could I achieve that, is it even possible?

An equivalent for w

5条回答
  •  猫巷女王i
    2020-11-30 03:24

    I am running Vue 2.1.0 standalone and this is what I had to use

    Vue.options.delimiters = ['{[{', '}]}'];
    

提交回复
热议问题