[Vuejs]-Vue.js inline template error

2👍

The inline template doesn’t seem to latch onto <tr> tags very well.

I couldn’t find any explaination in the docs but solved the issue by wrapping in a <div> tag.

<component inline-template>
     <div>
          <tr>
             <th>Something</th>
             <th>something</th>
             <th>something</th>
          </tr>
     </div>
</component>

Leave a comment