For a project, I need to loop through a list of objects given in javascript, and display them horizontally in a html table. Example here: https://jsfiddle.net/50wL7mdz/83227/
EDIT: don't read this one, it is only accurate for Vue 1!
I don't think you're going to be able to do this currently. IE simply does not allow template tags, so the only way to do this is using Again, using the and have a separate component (with a single root element) which can be applied to the tr
or td
. Looping through each element and adding 3 td
s per cannot be done.
is
attribute on a tr
or td
is the current solution, but that does not allow for multi-root components as you have requested. Perhaps you can create a component for each car and do and then style the TD to look like 3 columns.