JSFiddle - React, Tailwind, and code Playground

by Nightythehawk

HTML

<script src=https://code.jquery.com/jquery-3.3.1.min.js></script>

<div id="Itemlist">
    <table class="table">
        <tr>
            <th>Username</th>
            <th>User</th>
        </tr>
        <tr v-for="item in items">
            <td>{{item.username}}</td>
            <td>{{item.email}}</td>
        </tr>
    </table>
</div>

Vue

var ItemsVue = new Vue({
    el: '#Itemlist',
    data: {
        items: []
    },
    mounted: function () {
        var self = this;
        $.ajax({
            url: 'https://jsonplaceholder.typicode.com/users',
            method: 'GET',
            success: function (data) {
                self.items = data;
            }
        });
    }
});