Many Vue libraries include components that use colons to signify properties, like Buefy's table syntax:
<div v-cloak="true" v-if="MyJSONData != null">
<b-table
:data="data"
:paginated="isPaginated"
:per-page="perPage"
:current-page.sync="currentPage"
:pagination-simple="isPaginationSimple"
:default-sort-direction="defaultSortDirection"
default-sort="user.first_name"
aria-next-label="Next page"
aria-previous-label="Previous page"
aria-page-label="Page"
aria-current-label="Current page">
</b-table>
</div>
Visualforce isn't happy with this syntax and doesn't let me save my code, throwing a generic parsing error:
Error Parsing /apex/MyClass: Error Traced[line: 20] Attribute name "v-if" associated with an element type "b-table" must be followed by the ' = ' character.
Is there a way I can encourage Visualforce to play nicely with these custom properties/attributes?