Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Volt and Vue.js

Hi Guys,

Recently decided to start using Vue.js, I'm currently using volt for my views, but there is an issue, the syntax is identical for variables.

Is there any way to escape the variables in volt? In Laravel for instance with blade syntax you escape it with and @ symbol at the start e.g. @{{ variableName }}

I know you can do {{ '{{' }} variableName {{ '}' }} but I absolutely hate this, any other way around it?

Cheers! Andre


Thanks, wasn't aware can change delimiters, relativley new to vue.js


data: { foo: "", }

<span v-text="foo"><span>

<span :text="foo"><span>