2 years ago

Escape {{ }} in vue (2.0)

Posted 2 years ago by matt_panton

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?

Thanks :)

Please sign in or create an account to participate in this conversation.