JSFiddle - React, Tailwind, and code Playground

by Ryan Poole

HTML

<body id="app">
    <thing-comp v-repeat="thing in things" inline-template>
        <div>{{thing}}</div>
    </thing-comp>
</body>

JavaScript

var app = new Vue({
    el:'#app',
    data:{
    	things:[
            'foo',
            'bar',
            'baz'
        ]
    },
    components:{
        'thing-comp':{
    		props:{
                thing:{
                    type:String,
                    required:true
                }
            }
        }
	}
})