JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://unpkg.com/vue@2.2.1/dist/vue.js"></script>
<div id="app">
<test />
</div>
JavaScript
Vue.component('test', {
template: `
<div>
{{String(b)}} <br>
{{String(n)}} <br>
{{String(s)}} <br>
{{String(f)}} <br>
{{String(o)}} <br>
{{String(a)}} <br>
{{String(d)}}
</div>
`,
props: {
b: Boolean,
n: Number,
s: String,
f: Function,
o: Object,
a: Array,
d: Date
}
})
new Vue({
el: '#app'
})