Escape curly braces in htmlTemplate

I have Vue.js app how can I use it with htmlTemplate so I can add encoded JSON as data from R. htmlTemplate use {{ }} the same as vue and I also want to put <script tag with code that is troublesome for templates. Is there a way to change the tags to different characters (e.g. {{** **}} ) or disable template like in wikipedia nowiki.

I think I've found solution to my problem Conflict on Template of Twig and Vue.js

also I think that {{ is not any way valid JavaScript or JSON so I think I will be fine.