partialify
partialify copied to clipboard
cannot use "class" in HTML - it will not evaluate things like vue expressions.
<div id="comment-{{id}}" class="level{{level}}">
id will evaluate, but level will not, because when you require an html template that has a class attribute, it breaks the expression inside of the equal. However, you can't do "className" like you can in React, because then it just spits out "classname" as the attribute.
@bclinkinbeard has this issue been ever resolved.
@jlem could you share if you have a work around to get around this issue?