You can actually wrap your elements within a element. Then you can use Vue style binding to determine whether you want classes applied or not.
Woo |
It renders out the tbody block with a row (tr) with applied class names and the child columns contained within.
|