Go back to Examples

CMS Table

CMS - Intermediate

CMS tables are a way to render collection lists inside a table.

                <table class="table">
    <thead>
        <tr>
            <th>Name</th>
            <th>Slug</th>
            <th>Published At</th>
        </tr>
    </thead>
    <tbody>
        <template v-for="post in posts">
            <tr>
                <td v-html="post.name"></td>
                <td v-html="post.slug"></td>
                <td v-html="post.publishedAt"></td>
            </tr>
        </template>
    </tbody>
</table>