SOURCE

console 命令行工具 X clear

                    
>
console
Vue.component('button-counter', {
  data: function () {
    return {
      count: 0
    }
  },
  template: '<button v-on:click="count++">You clicked me {{ count }} times.</button>'
})


const vue = new Vue({
    el: '#app'
})
<div id="app">
    <button-counter></button-counter>
    <button-counter></button-counter>
    <button-counter></button-counter>
</div>

本项目引用的自定义外部资源