SOURCE

console 命令行工具 X clear

                    
>
console
Vue.component('my-component', {
  template: '#my-component'
});

var app = new Vue({
  el: '#app'
})
<div id="app">
  <my-component></my-component>
  <script type="text/x-template" id="my-component">
  	<div>这是组件的内容</div>
  </script>
</div>
<script src="https://cdn.bootcss.com/vue/2.4.4/vue.js"></script>