0๐
I didnt manage to fins a solution to my problem, However I found an alternative that worked. Vue.js also has inline templates that has the same functionality as x-templates. A solution was to to put the following tag:
<hotel></hotel>
with the inline-template attribute with it. The end result would look like this
<hotel inline-template></hotel>
0๐
You should load vue.js just before the tag, not in the head area.
This will allow you to use the template: with your template in backticks (โ) โ that way you can have a multi-line template without having to build it as a string.
Source:stackexchange.com