I've found myself needing to output the vue template syntax literally as just curly braces on the page like {{ Some text here }} but I can't find a way to escape them so that vue doesn't try to interpret the contents. Even when I use the html codes{ and } vue still picks it up.
Is there any way to get around this?
@zachleigh I've figured out a workaround. I've created a component that accepts the text as a prop and then display the text in the component's template. It's not idea but get's the job done. Thanks for your help
Should have expanded a bit, I am displaying data from the database, that may or may not have {{'s in the content. For example I have a bit of content that looks like {{ my_function }}
So I want the data to be outputted as normal, but the handlebars are breaking it. Should I be escaping these values before it is input into the database?
@jove i was having the same problem hour before and also tried changing curly braces with entity. actually i found exact same issue which i was facing ..
i think you should read it once and the answers too !!