JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://rawgit.com/yyx990803/vue/master/dist/vue.js"></script>
<div id="app">
  <my-component :my-prop="p1"></my-component>
</div>

CSS

.child {
  padding: 20px;
  border: 1px solid #cacaca;
}

JavaScript

var MyComponent = {
	props: {
    missingProp: Boolean,
  	myProp: Boolean
  },
  template: '<div><div class="child">missingProp -- Type: {{ typeof missingProp }}, value: {{ missingProp }}</div><br><div class="child">myProp -- Type: {{ typeof myProp }}, value: {{ myProp }}</div></div>'
};

new Vue({
	el: '#app',
  data: {
  	p1: undefined
  },
  components: {
		myComponent: MyComponent
  }
});