0

I want to integrate this bootstrap table example into a component. It doesn't work even though I attached source files to index.html, table works if it's inserted below root component in index. I have found similar question but it's not solved, conversation somehow ends in this question? Thanks a lot for the answer I use this table code for my integration, mytable

<table data-toggle="table"
       data-url="/gh/get/response.json/wenzhixin/bootstrap-table/tree/master/docs/data/data1/"
       data-click-to-select="true">
    <thead>
    <tr>
        <th data-field="state" data-checkbox="true"></th>
        <th data-field="name">Name</th>
        <th data-field="stargazers_count">Stars</th>
        <th data-field="forks_count">Forks</th>
        <th data-field="description">Description</th>
    </tr>
    </thead>
</table>
Community
  • 1
  • 1
Tomasz Cysewski
  • 569
  • 3
  • 10
  • 15

1 Answers1

0

<table data-toggle="table"
       data-url="/gh/get/response.json/wenzhixin/bootstrap-table/tree/master/docs/data/data1/"
       data-click-to-select="true">
    <thead>
    <tr>
        <th data-field="state" data-checkbox="true"></th>
        <th data-field="name">Name</th>
        <th data-field="stargazers_count">Stars</th>
        <th data-field="forks_count">Forks</th>
        <th data-field="description">Description</th>
    </tr>
    </thead>
</table>
Katrina
  • 83
  • 7